Hi Robin,

Whether you're using RemoteObject or WebService, the point of using 
either is _not_ to have to do that kind of serializing/deserializing. So 
it's all built-in, and it's all done behind the scenes, at the player 
level in the RemoteObject case and at the ActionScript level in the 
WebService case.

As a side-note, if you're going to be creating web services (as opposed 
to using a ready-made one), you might as well use RemoteObject; 
WebService and RemoteObject do the same job, but SOAP is very verbose 
while AMF has a much smaller footprint, so RemoteObject usually beats 
WebService speed-wise by a large margin.

Patrick

Robin Burrer a écrit :
>
> 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] ups.com [mailto: [EMAIL PROTECTED] 
> ups.com ] *On Behalf Of *Robin Burrer
> *Sent:* Friday, 8 December 2006 12:25 PM
> *To:* [EMAIL PROTECTED] ups.com
> *Subject:* RE: [flexcoders] webservices and Flex 2
>
> Too easy – that works great – thanks!
>
> * From: * [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] 
> ups.com ] *On Behalf Of *Carson Hager
> *Sent:* Friday, 8 December 2006 12:10 PM
> *To:* [EMAIL PROTECTED] ups.com
> *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.cynergys ystems.com <http://www.cynergysystems.com/>
>
> Email: carson.hager@ cynergysystems. com 
> <mailto:[EMAIL PROTECTED]>
> Office: 866-CYNERGY
> Mobile : 1.703.489.6466
>
> * From: * [EMAIL PROTECTED] ups.com [mailto: flexcoders@ 
> yahoogroups. com ] *On Behalf Of *Robin Burrer
> *Sent:* Thursday, December 07, 2006 4:58 PM
> *To:* [EMAIL PROTECTED] ups.com
> *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
>
>  



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to