lets say i have them post to neworder.cfm. what would the XMLParse function
syntax looklike to capture that stream? thanks for your reply. i have been
beating my head against the wall tring to get this to work.
See the attached code to get started.
<!--- The client is required to POST XML to this page.
Fetch it, process it, return an xml response.
--->
<CFSCRIPT>
/*--- We are expecting an XML post. This means that the entire request
body had
better be valid XML.
*/
zClientRequestDetails = GetHttpRequestData ();
sXML_PostString = zClientRequestDetails.Content;
zXML_PostDoc = XmlParse (sXML_PostString);
</CFSCRIPT>
<!--- Now process the XML depending on your app. --->
<!--- Now output a simple reply XML. --->
<cfcontent reset="Yes">
<CFOUTPUT><?xml version="1.0" encoding="UTF-8"?>
<MyAPI>
<statusCode>0</statusCode>
</MyAPI>
</CFOUTPUT>
<!--- Make sure no "request end" footers corrupt our XML. --->
<CFABORT>
kwillis - 29 Nov 2006 22:54 GMT
Thank you sooooo much. i feel like such an idiot now. i was just having a
brain block. i strated down a different path that ultimately got me lost. i
was looking at old solutions (pre mx7) that confused me when trying to use the
more robust mx7. again, thank you.