One of the requirements i had was to write down the Action Script object returned from the Coldfusion webservice call into a flat xml file. This was a temporary solution i had to provide seamless integration between flex app and AIR app..
I had a huge bunch of query object data returned through CF webservice call and i needed to persist the data into an xml file without having to write a whole bunch of code to navigate to each and every property of the object (introspect)...
This simple code here lets you write the crude CF returned object into a nice XML

And this code below converts the XML into an action script object that can be used during your persistence..


0 comments:
Post a Comment