Interesting...
The lastResult of the of the returned data cannot be cast to a typed object that has the same variables and types, like the documentation says. It throws a TypeError if you try to do it. I believe the other way around does work.. taking a typed object and using that as one of the variables in the operation. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Haygood Sent: Thursday, July 19, 2007 10:33 AM To: [email protected] Subject: RE: [AFFUG Discuss] Flex Web Services (WSDL) Complex Types Precisely what I was looking for J Thanks! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen Sent: Thursday, July 19, 2007 12:11 AM To: [email protected] Subject: Re: [AFFUG Discuss] Flex Web Services (WSDL) Complex Types http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm ?context=LiveDocs_Book_Parts&file=ent_services_config_097_10.html maybe help some? IIRC, complex return types can be caste into objects if the properties match up, but not the other way around. There was a recent thread on Flexcoders on this. Search on " Value Object to XML" there. DK On 7/18/07, Justin Haygood <[EMAIL PROTECTED]> wrote: Does anyone here have any examples of Flex consuming a web service where: 1. One of the parameters is a WSDL Complex Type 2. The return value is also a WSDL Complex Type I'd be much appreciative! Thanks, Justin Haygood | Software Engineer Phone 678-261-8211 | Cell: 905-441-0420 (Canada) EMail: [EMAIL PROTECTED] | V-Me: https://v-me.vonage.com/jhaygood86 AIM: ewjhaygood | Yahoo: ewjhaygood | MSN: [EMAIL PROTECTED] (via Yahoo!) EyeWonder Richer Media. Richer Results. www.eyewonder.com <http://www.eyewonder.com/> ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- -- Douglas Knudsen http://www.cubicleman.com this is my signature, like it? ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
