Tuesday, May 18, 2010

Consuming a web service in a Windows Application

As the topic looks very simple, but I had wasted a couple of hours of development time in a project recently. Therefore, I thought to blog it right away.

The following steps need to be done using Visual Studio 2008:

This is the most important step. The web service address should not paste directly on the "Address" bar. You need to first click on the "Advance" button, then only the web service URL should be entered. This way you will get all the methods exposed by the consumed web service.





No comments: