See
http://livedocs.adobe.com/flex/2/langref/XML.html#ignoreProcessingInstru
ctions

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Thomas Newcomen
Sent: Monday, March 26, 2007 12:43 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Posting XML with httpservice



That does work (thanks), except for the fact that when I convert my
string to XML, it seems to remove my <? xml ...> declaration... it has
to be passed to the server.. as well.  any ideas on that?

Crit


On 25 Mar 2007 12:15:46 -0700, nathanpdaniel <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote: 

        When you call the httpservice.send() function, try
httpservice.send
        (xmlDocument) - and remove the <mx:request> tag from the MXML :D
        
        --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Thomas Newcomen"
<[EMAIL PROTECTED]> 

        
        wrote:
        >
        > If I have contenttype of my httpservice set to
"application/xml" 
        and I have
        > a variable that contains an xml document (<?xml.... ?
        ><blah>.......</blah>)
        > How do I just post that the service?
        > 
        > this doesn't seem to work:
        > 
        > <mx:request>
        > {xmlDocument}
        > </mx:request>
        > 
        > 
        > Any ideas?
        > 
        > 'preciate it.
        > 
        > Crit
        >
        
        

        

        


 

Reply via email to