Ben,

On a 4.5 server you can't use cfhttp to make a request. Because you
(usually) need access to the content type header (and often you need to add
a specific header). It's also not feasible to get valid XML data into the
content area of the request (<cfhttpparam> doesn't do the job). Plus you
will have to figure out what the request packet "should" look like to make a
valid request. The request packet is typically obscured by the language
because it's further down the stack - more of a protocol than an object.

A few years ago I did a .NET to CF 5 (and visa versa) demonstration posting
soap packets to a .NET assembly and handling the results. I have to say it
was a major Kludge. For one thing there is no native way to build the packet
and no native way to post it.  There is not even a cfsavecontent to help you
on a 4.5 server (didn't that come along in CF 5?). I used a COM object from
intrafoundation (tcip/ip) to form the http request - that was necessary
because i had to contsruct specific raw headers. In addition there is no
native way to handle the XML returned by the request either. I had to use
XMLDom (com again) to unpack the results etc. etc.

Unless you are building a new "hello world" or another babelfish interface I
would wager you will spend the cost of the upgrade in trying to do about
anything. Of course I never considered using Axis - I wonder how that would
have gone. But if I remember correctly axis was less mature than it is now.

-Mark
Mark A. Kruger, CFG, MCSE
www.cfwebtools.com
www.necfug.com
http://mkruger.cfwebtools.com



-----Original Message-----
From: Ben Forta [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 1:15 PM
To: CF-Talk
Subject: RE: CF 4.5 & SOAP


You could also use <cfhttp> to make the calls, but parsing the results will
not be fun as you don't even have the <cfxml> tag.

In all honesty, it would take less time to upgrade than to jump through the
hoops you'll need to make this work.

--- Ben


-----Original Message-----
From: Keith Gaughan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 2:11 PM
To: CF-Talk
Subject: Re: CF 4.5 & SOAP

Doug Ford wrote:

> 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!!

Well, if you're really stuck with CF4.5, then I recommend that you use
Apache Axis[1]. This is what CFMX itself uses internally to call and
implement webservices. Just generate the stubs you need from the WSDL files,
and Robert's your father's brother.

K.

[1] http://ws.apache.org/axis/





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206442
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to