Returning data from JAVA in XML format

Avatar

Avatar

savyasachi

Avatar

savyasachi

savyasachi

19-11-2008

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.

Replies

Avatar

Avatar

Zee_Yang

Avatar

Zee_Yang

Zee_Yang

19-11-2008

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...