I think you want cfxml and xmlparse() ----- Original Message ----- From: "Greg McDaniel" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Saturday, August 10, 2002 4:54 AM Subject: CFMX and XML
> Does CFMX have a better way of sending and receiving > XML data? The following way seems to be constrained to just > working with WinTel machines. What If I wanted to use Lintel? > > > <cfobject action="create" type="COM" class="Msxml2.ServerXMLHTTP.3.0" > name="objHTTP"> > <!--- Set timeout variables ---> > <cfset lResolve = 4 * 1000> > <cfset lConnect = 4 * 1000> > <cfset lSend = 20 * 1000> > <cfset lReceive = 20 * 1000> > > <cfset url = "http://wpcftst1/ProxyService.asp"> > > <!--- Set XML document ---> > <cfset ccReqXML = '<?xml version="1.0" encoding="windows-1252"?> > <SABREQUEST> > <SOURCE>FLIGHT</SOURCE> > <LOGINID>xxxx</LOGINID> > <PASSCODE>xxxx</PASSCODE> > <SYSTEM>DECS</SYSTEM> > <ENTRY> > <PRIMARY>NS/1201</PRIMARY> > <SECONDARY>MD</SECONDARY> > <REPEAT>4</REPEAT> > <ENDTEXT>END</ENDTEXT> > </ENTRY> > </SABREQUEST>'> > > <!--- Set timeouts ---> > <cfset tmpVar = > objHTTP.setTimeouts("#lResolve#","#lConnect#","#lSend#","#lReceive#")> > > <!--- Open Thread ---> > <cfset tmpVar = objHTTP.open ("POST", "#url#", False)> > > <!--- Set custom headers...Whatever you want or need ---> > <cfset tmpVar = objHTTP.setRequestHeader ("Content-Type", "text/html")> > <cfset tmpVar = objHTTP.setRequestHeader ("Document-Type", "Request")> > <cfset tmpVar = objHTTP.setRequestHeader ("MIME-Version", "1.0")> > <cfset tmpVar = objHTTP.setRequestHeader ("Document-Type", "Request")> > > <!--- Send Request ---> > <cfset tmpVar = objHTTP.send ("#ccReqXML#")> > > Greg McDaniel > > ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

