Sep 2nd, 2009, 10:59 AM
How to consume XML on server side with AS3 objects on clients
I am planning to use Cairgnorm + SpringActionScript with BalzeDs as the Java backend. There are some existing Java based back end services with which the flex client needs to integrate . The services returns XML now. I was planning to use remoting with AMF3 on balzeds bcoz of obvious perf reasons but is seems that is not a possibility if i have to consume xml. I need to use either
1) XML to ActionScriptE4X
2) XML to AS3 .
"Is there a way for me to use AMF3 with XML response and convert it to AS3 object on client".
Sep 3rd, 2009, 02:27 AM
The actual conversion of XML to AS3 is probably a piece of custom work, but you can check out the IDataTranslator interface in the SpringAS Cairngorm extensions for putting a conversion mechanism in place:
I hope this helps,