A few months ago I had to (temporarily) backport a webservice-using app to CF5 from MX.
Even in MX it couldn't use cfinvoke, as the webservice didn't have a WSDL, but was able to use CFHTTP in CFMX (coworker found exact xml syntax and http headers necessary). The XML packet gets sent in the body of a form post. CFMX CFHTTP has cfhttpparam type="body", but not CF5 or earlier. Also needs content-type, which (IIRC) is only in CFMX. <cfhttp url="#Request.WEBServiceURL#" method="POST" resolveurl="false" > <cfhttpparam type="HEADER" name="Accept" value="application/soap+xml, application/xml, multipart/related, text/*"> <cfhttpparam type="HEADER" name="ACCEPT-ENCODING" value="application/soap+xml"> <cfhttpparam type="HEADER" name="CONNECTION" value="Keep-Alive"> <cfhttpparam type="HEADER" name="SOAPAction" value="#SoapAction#" > <cfhttpparam type="HEADER" name="Content-Type" value="text/xml; charset=utf-8"> <cfhttpparam type="HEADER" name="Must-Understand" value="1"> <cfhttpparam type="body" value="#SoapMessage#" encoded="yes"> </cfhttp> SoapMessage has the XML packet w/SOAP envelope. For CF5, CFHTTP didn't have body or content-type header HTTPParam (IIRC), so I used Intrafoundation's TCPclient COM object and rolled my own HTTP custom tag (took their CF HTTP example, created custom tag, passed in structure of headers) Also used soxml (cf_SOXML) for the processing of the XML response packet. Performance was really bad for large resultsets, though. - David > Subject: CF 4.5 & SOAP > > From: Doug Ford <[EMAIL PROTECTED]> > > Date: Wed, 11 May 2005 13:50:08 -0400 > > Thread: http://www.houseoffusion.com/cf_lists/index.cfm/method=messages > < > http://www.houseoffusion.com/cf_lists/index.cfm/method=messages&threadid=40 > 157&forumid=4#206427> &threadid=40157&forumid=4#206427 > > > Hi Folks - > > I am relatively new to this forum... Long time stalker, first-time poster! > > I was wondering if anybody has any experience with CF 4.5 (yes, I know > it's > old) and SOAP. > > The company who I process online ACH payments with has recently switched > to > using a SOAP webservice and I need to figure out a way to do this...ASAP. > > If that means using a .dll file or a Java package, I am all up for it. > > I just need to make sure I can pass the variables that I need to pass. > > Any and all help is appreciated!! > > Thanks, > > Doug > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206486 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

