Results 1 to 2 of 2

Thread: How to consume XML on server side with AS3 objects on clients

  1. #1
    Join Date
    May 2007
    Posts
    16

    Default 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

    OR

    2) XML to AS3 .

    "Is there a way for me to use AMF3 with XML response and convert it to AS3 object on client".

  2. #2
    Join Date
    Dec 2008
    Location
    Brussels
    Posts
    407

    Default IDataTranslator

    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:

    http://www.springactionscript.org/do...ator_interface

    I hope this helps,

    cheers,

    Roland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •