FYI: It works folks, just tried it.

Stace

-----Original Message-----
From: Andrew Spear [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 03, 2002 4:37 PM
To: CF-Talk
Subject: RE: Consuming a Web Service

I agree with Stacy.  I couldn't get Google's web service to work until I
used the <cfinvokeargument> tag.


> 
> 
> HHmmm Try sending your params using the <cfinvokeargument> tags.
> 
> <cfinvoke
>   webservice = "http://www.xmethods.net/sd/2001/BabelFishService.wsdl";
>   method = "BabelFish"
>   returnVariable = "foo">
>       <cfinvokeargument name="translationmode" value="en_es">
>       <cfinvokeargument name="sourcedata" value="Hello world, 
> friend"> </cfinvoke>
> 
> <cfoutput>#foo#</cfoutput>
> 
> 
> 
> -----Original Message-----
> From: Frank Mamone [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, June 03, 2002 4:11 PM
> To: CF-Talk
> Subject: Consuming a Web Service
> 
> Has anyone had any luck with the example for consuming web services?
> 
> I'm trying this:
> 
> <cfinvoke
>   webservice = "http://www.xmethods.net/sd/2001/BabelFishService.wsdl";
>   method = "BabelFish"
>   translationmode = "en_es"
>   sourcedata = "Hello world, friend"
>   returnVariable = "foo">
> <cfoutput>#foo#</cfoutput>
> 
> 
> and getting this:
> 
> Could not generate stub objects for web service invocation.
> 
> Name: http://www.xmethods.net/sd/2001/BabelFishService.wsdl. 
> WSDL: http://www.xmethods.net/sd/2001/BabelFishService.wsdl.
> java.net.ConnectException: Connection refused: connect It is 
> recommended that you use a web browser to retrieve and 
> examine the requested WSDL document for correctness. If the 
> requested WSDL document can't be retrieved or it is 
> dynamically generated, it is likely that the target web 
> service has programming errors.
> 
> The Error Occurred in C:\Inetpub\wwwroot\Web 
> Services\test.cfm: line 14
> 
> 12 :   translationmode = "en_es"
> 13 :   sourcedata = "Hello world, friend"
> 14 :   returnVariable = "foo">
> 15 : <cfoutput>#foo#</cfoutput>
> 16 :
> 
> 
> Note: I am going thru a proxy. I'm wondering if that's the 
> problem. I can connect to the URL : 
> http://www.xmethods.net/sd/2001/BabelFishServi> ce.wsdl
> fine 
> thru the browser.
> 
> Any help will be 
> appreciated.
> 
> Frank M.
> 
> 
> 
> 
> 
> 

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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

Reply via email to