Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use a web service but when i debug the code,it throws an error

Unable to automatically step into the server.Connecting to the server machine
'devapi.stellatravelgateway.stellatravelservices.co.uk' failed.
The debugger cannot connect the remote computer.

the error mentioned above shown as a pop up box in visual studio 2010

Please help
Posted
Comments
ZurdoDev 4-Feb-14 10:07am    
That's because the code that is failing is actually in a method no the web server. Can you debug the actual web service code instead?
hrishisinha 5-Feb-14 4:38am    
how can i debug the web service as it is a third party web service which i am adding in the service reference and then calling the methods
ZurdoDev 5-Feb-14 6:22am    
You can't. It's not your code.
hrishisinha 5-Feb-14 7:51am    
so wat should i do now.
The web service provide are not providing any sort of code for .net.
They have link and wsdl.
How can i use their web service ,i have googled alot about using the web service and already get to know how to call the web methods of web service.but that is not working for me.
http://devapi.stellatravelgateway.stellatravelservices.co.uk/DirectoryService.svc?wsdl
this is the web service.
plz help
ZurdoDev 5-Feb-14 8:10am    
I think you need to talk to whoever runs the webservice.

1 solution

you get that error because web service is hosted on remote server so you cant access that code from your local machine. what you can do is pass parameters to web service manually and see what error does it through ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900