Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

Returning data from JAVA in XML format

Avatar

Level 2
I need to bring records in a table to Flex application to
display in a dataGrid. I am using data services and a Java adapter
to query the data from the database and return as a Collection of
Value Objects. This part is working fine. However I have a need to
send the records in XML format to the UI. If I send each record as
org.w3c.dom.Element instead as a ValueObject?



Appreciate any help in this regard.
1 Reply

Avatar

Level 2
Java objects of type org.w3c.dom.Document will be serialized
to an XML object in actionscript automatically.
http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=serialize_data_2...