> Okay I'm frustrated and give up. I know I've done this > before but something is slipping by me. Here's the sample > code I've copied from the book: > > <cfinvoke > webservice="http://www.xmethods.net/sd/2001/TemperatureService.wsdl" > method="getTempRequest" > zipcode="95816" > returnVariable="theTemp"></cfinvoke> > > and the error is always: > > Could not generate stub objects for web service invocation. > Name: > http://www.xmethods.net/sd/2001/TemperatureService.wsdl. > WSDL: > http://www.xmethods.net/sd/2001/TemperatureService.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. > > I've tried several variations. Am I forgetting something? > Is there an extra port that needs to be open on the web > server for Web Services to function? Is it just too early in > the morning, pre coffee?
There are no extra ports required as such, although you will need to allow outgoing HTTP traffic from your web server to the remote web server, and that traffic could use any high port (> 1024, I think) on your machine. Have you tried requesting that URL from a browser installed on your web server? You may have DNS resolution problems from your server console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ phone: 202-797-5496 fax: 202-797-5444 ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
