Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Returning data from JAVA in XML format

savyasachi
Level 2
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
Zee_Yang
Level 2
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...