You know, I send xml by HTTPService all the time, but I always do it in AS, and never declaratively.  But in general

Try:

<mx:request xmlns="">
  <xml>&LT;something&GT;&LT;system&GT;…&LT;/system&GT;&LT;/something&GT;</xml>
</mx:request>

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of bill-dawson
Sent: Friday, June 16, 2006 11:50 AM
To: [email protected]
Subject: [flexcoders] Re: Flex newbie: issues with HTTPServices and my URL

 

Now Flex is seeing my XML value argument as an unpaired tag. Flex
Builder is saying, "Encountered "<something>" at line 5, column 8."

Am I going at this all wrong? The correct post via HTTP is:

http://www.somewhere.com/api/integrate.aspx?
xml=<something><system><system_name>tracking</system_name><action>job
retrieve</action></system></something>

Here's what I attempted within flex:

<mx:HTTPService method="GET" id="getTracking"
url="" href="http://www.somewhere.com/api/integrate.aspx">http://www.somewhere.com/api/integrate.aspx">
<mx:request xmlns="">
xml=<something><system><system_name>tracking</system_name><ac
tion>jobretrieve</action></system></something>
</mx:request>
</mx:HTTPService>

__._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to