Sorry folks - my original post was sent prematurely... Here's the email I
meant to send:
>
> Hi ppl. If anyone has worked with SOAP, I'm in desperate need of some
> help.
>
> I have some VB Code as follows:
>
> Dim SOAPClient As SOAPClient
> Set SOAPClient = New SOAPClient
>
> SOAPClient.mssoapinit
> ("http://services.xmethods.net/soap/urn:xmethods-CurrencyExchange.wsdl")
> MsgBox (Str(SOAPClient.getRate("England", "Japan")))
>
>
> When I try to convert the same code to CF, I get an error message. It
> says that I'm missing some parameters on the getrate method. Anyone got
> any ideas what's happening?
>
> <cftry>
> <cfobject action="CREATE" type="COM" name="SOAPClient"
> class="MSSOAP.SOAPCLient">
> <cfcatch>
> <cfobject action="CONNECT" type="COM" name="SOAPClient"
> class="MSSOAP.SOAPCLient"></cfcatch>
> </cftry>
>
> <cfscript>
> SOAPClient.ClientProperty ("ServerHTTPRequest");
> SOAPClient.mssoapinit
> ("http://services.xmethods.net/soap/urn:xmethods-CurrencyExchange.wsdl",
> "", "", "");
>
> </cfscript>
> <cfoutput>#SOAPClient.getrate ("England", "Japan")#</cfoutput>
>
>
> <signature>
> Costas Piliotis
> Application Programmer
> Voyus Canada Inc.
> T: (604)320-6566 x149
> F: (604)320-6567
> C: (604)726-6904
>
> The information in this email is confidential and may be legally
> privileged. It is intended solely for the addressee. Access to this email
> by anyone else is unauthorized. If you are not the intended recipient, any
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it, is prohibited and may be unlawful. When
> addressed to our clients any opinions or advice contained in this email
> are subject to the terms and conditions expressed in the applicable Voyus
> Canada Inc. client engagement contract.
> </signature>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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