I'm still getting the same error. I'm running the Pro trial on XP Pro. Here is the error again:
Could not generate stub objects for web service invocation. Thanks ----- Original Message ----- From: "Stacy Young" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, June 03, 2002 4:27 PM Subject: RE: Consuming a Web Service > 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/BabelFishService.wsdl > fine thru the browser. > > Any help will be appreciated. > > Frank M. > > > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.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

