Click here to Skip to main content
15,896,349 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello to all of you

I have created a web services to upload files....
and now I m working on desktop application in which i have d task to upload files.
For this i want to use that web service.
so please anybody tell me how to add web reference in desktop application


Regards,
Nilesh
Posted

1 solution

Adding Web Services is same in any application, whether Web or desktop. If you are using VS 2008 or above - do the following

1. Right Click on the project.Click Add Service Reference
2. Click Advanced --> Click Add Web Reference
3. In the Url provide the path of the WSDL
4. The IDE will then generate a proxy class for the Web Service
5. Use the proxy class to access the Web Service
 
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