> Hi,
  
> I am getting the following error
> Could not generate stub objects for web service invocation, when i 
> tried to execute a sample web service.
> How to check whether web service site is working or not
> 
> I tried using the following code
> 
> 
> <cfscript>
>       o = createObject("webservice","http://www.xmethods.
> net/sd/2001/CurrencyExchangeService.wsdl");
>       stArgs = structNew();
>       stArgs.country1 = "united states";
>       stArgs.country2 = "united states";
>       
>               stArgs.commandName="getRate";
>               q=o.CommandHandler(argumentCollection=stArgs);
>       
> </cfscript>
> <cfdump var="#stArgs#">
> 
> 
 
> <cfdump var="#q#">
> 
> Please help me to resolve this issue
> 
> Thanks

Hi Sam,

The first step to validate it would be to paste the URL of the wsdl into a 
browser and try to retreive it, which I did. The page was not found (I knew it 
wouldn't be, xmethods seems to have reorged the site some time back and many of 
the URLs have changed). Check the full list at xmethods for a new one. Perhaps 
you are looking for 
http://www.freewebs.com/jimmy_cheng/CurrencyExchangeService.wsdl. NOTE: many 
samples found on the web of CF accessing web services are likely out dated. You 
definitely need to verify that you can reach the wsdl via a browser.

Good luck.

bill


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298916
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to