Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / August 2005



Tip: Looking for answers? Try searching our database.

XML Post

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
romeogq - 30 Aug 2005 16:01 GMT
How do I post xml to the remote server? They gave me the url to post the xml
data to, that will in turn echo back the requested xml data, but what's the
process?

Simplified, this is what I have so far...

<cfxml variable="search">
<NexRes product="cars">
...child_elements...
</NexRes>
</cfxml>
<cfhttp method="POST" url="http://domain.com/file.cgi">
?????????

I read something about using cfcontent and ToString()?? Confused. Please help.
romeogq - 30 Aug 2005 17:25 GMT
Nevermind, I got it.

<cfxml variable="search">
... xml-blah xml-blah xml-blah ...
</cfxml>
<cfhttp method="POST" url="http://domain.com/xml/xps.cgi">
<cfhttpparam type="xml" value="#search#">
</cfhttp>
<cfset returned_xml-blah= xmlparse(cfhttp.FileContent)>
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.