Click here to Skip to main content
15,921,716 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wanna make a web service windows forms client in visual studio but I can't see the "MyWebServiceSoapClient" method in intellisence , what would be the error ?

Thanks guys !
Posted
Comments
[no name] 23-Jun-13 19:56pm    
Could be lots of things including being as simple as you do not have a method named "MyWebServiceSoapClient" defined anywhere in your project. But without more information it's going to be guesswork.
eng.amir.ebrahimi 24-Jun-13 9:48am    
Yes You are right ... You know, if you make a web service in your project and select "add service reference " You can see "yourservicename+SoapClient" method in your client project but I can't.

1 solution

You first need to add a web-reference to the service and generate a proxy class.
This can be used to initialize the client.
 
Share this answer
 
Comments
eng.amir.ebrahimi 24-Jun-13 9:50am    
I did it
Yes You are right ... You know, if you make a web service in your project and select "add service reference " You can see "yourservicename+SoapClient" method in your client project but I can't.that's the weird thing...

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