My suggestion would be to change the content type to "application/xml" - then it post XML to the server. :D No name value pairs needed for that.. Examples: AS3: var http:HTTPService = new HTTPService(); http.url = serverURL; http.contentType = "application/xml";
MXML: <mx:HTTPService url="{serverURL}" contentType="application/xml" /> That's of course in general terms - you'd have to add code to each to really make it work properly... Hope this helps! -Nathan D. --- In flexcoders@yahoogroups.com, "markgoldin_2000" <[EMAIL PROTECTED]> wrote: > > Yes, I am using HTTPService. > But I cannot use name=value pair. My XML has a complex structure that > cannot be broken into a simple name=value pair. > > --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tspratt@> wrote: > > > > You typically use one of the three RPC protocols. The easiest way > to > > send an xml string is to use the HTTPService RPC protocol. Leave > the > > default contentType, and send the xml string in a name=value pair > in the > > request object. > > > > Tracy > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On > > Behalf Of markgoldin_2000 > > Sent: Tuesday, August 12, 2008 2:49 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] Sending data back > > > > > > > > How exaclty is Flex sending data back? > > Is it possible to send an XML string back to server so I can > restore it > > there into an xml string? > > > > Thanks > > >