Re: [flexcoders] Re: Posting XML with httpservice

2007-03-26 Thread Thomas Newcomen

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] wrote:


  When you call the httpservice.send() function, try httpservice.send
(xmlDocument) - and remove the mx:request tag from the MXML :D

--- In flexcoders@yahoogroups.com 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


 



RE: [flexcoders] Re: Posting XML with httpservice

2007-03-26 Thread Peter Farland
See
http://livedocs.adobe.com/flex/2/langref/XML.html#ignoreProcessingInstru
ctions



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Thomas Newcomen
Sent: Monday, March 26, 2007 12:43 PM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com
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