What about the other way round? Can I convert an xml formatted object as an AS object as well without having to manually deserialize it?
Robin ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Friday, 8 December 2006 12:25 PM To: [email protected] Subject: RE: [flexcoders] webservices and Flex 2 Too easy - that works great - thanks! ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Carson Hager Sent: Friday, 8 December 2006 12:10 PM To: [email protected] Subject: RE: [flexcoders] webservices and Flex 2 You definitely do not have to do that. You simply pass AS objects that matches the arguments to the web service method and Flex handles serializing them. Carson ____________________________________________ Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com <http://www.cynergysystems.com/> Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Office: 866-CYNERGY Mobile: 1.703.489.6466 ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: Thursday, December 07, 2006 4:58 PM To: [email protected] Subject: [flexcoders] webservices and Flex 2 Hi there, Is there any way to do the "AS Object" to XML serialization automatically? What do you do when you want to send complex data types to a SOAP webservice? Converting AS objects to XML manually somehow seems to be a bit clumsy. I noticed the http service has a property contentType which can be set to "application/xml". Is there anything similar for the webservice component? Robin

