O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6.2. Invoking Web Services with Visual Studio .NET

The next logical step after creating and testing a Web service is to create a client for that service. You can call a Web service from practically any kind of application. The rule is: If you can send an HTTP POST request to the Web server, you can invoke the Web service. To create a Windows Forms client, start Visual Studio .NET and create a new project using the Windows Application template. This creates the project file and adds a form called Form1. As you learned in Chapter 1, you can use wsdl.exe to create a proxy class that makes it easy to invoke the Web service. VS .NET can generate this proxy class for you by choosing Add Web Reference from the project menu, which will bring up the dialog ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required