|
 |
dreamweaver thread: problem create stub ibject for web services
Message #1 by "chan khin sin" <kschan@s...> on Wed, 16 Oct 2002 03:52:49
|
|
Hi:
I have create an application by using Dreamweaver MX together with Cold
Fusion MX that call the third party web services, but when run my
application, I get below error message:
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.UnknownHostException: www.xmethods.net 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 manually browse to the wsdl file location and able to see the content of
wsdl file but having problem to call the web services by using my
application.
Below is how my code look like:
<cfinvoke
webservice="http://www.xmethods.net/sd/2001/BabelFishService.wsdl"
method="babelFish"
returnvariable="aString">
<cfinvokeargument name="translationmode" value="en_es"/>
<cfinvokeargument name="sourcedata" value="Hello World"/>
</cfinvoke>
<cfoutput>#aString#</cfoutput>
Please advice how should I solve the problem. Thanks
|
|
 |