If you set resultFormat="object" (the default) Flex will convert the xml into a nested object structure. This is kind of a black box process and you will have to take what it gives as-is.
XML <=> Object conversion has actually been discussed quite a bit here. Search the archives. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of chuyler1 Sent: Tuesday, September 04, 2007 9:18 PM To: [email protected] Subject: [flexcoders] XML Data From WebService to Custom Value Object Class? Lets say I receive data from a WebService as XML and I stick it in a DataGrid. How can I cast that information from its XML form to a Cairngorm ValueObject. It would be nice to be able to call "MyVObj:VObj = VObj(myXMLData)" assuming that myXMLData contains the same fields as VO. Obviously I can parse through each value and set them manually but I was hoping there was an easier way. Any suggestions? We plan to use .NET for the backend. I've seen a few Java examples and stuff for FDS but I wasn't sure how that would work in my situation.

