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/BabelFishService.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