Hi,
I had written a webservice.Now I need help to accompolish the following goals..
1.How to host the webservice?..since this i have to use in windows application.
2.How to consume this webservcie through the C#.net windows application.
My task is to write the Webservice,using this I will pick some data and that data I have to pass to a windows application/windows service where I will update the database.
Mahesh ChandPosted Jul 25, 2008, 4:07 PM
Using a Web Service in a Windows Forms application is simple. You right click on the project and add a Web Reference. On Add Web Reference dialog, enter the URL of your WebService and a class and namespaces will be added to your project. After that, you use it as a simple class.
Here is an example: