Using Web Services

The first step is Web Service discovery, in which you discover and locate the documents that provide documentation and a WSDL description of the Web Service. After you retrieve the information about its interface through the description document (WSDL), you generate a proxy class that locally represents the Web Service. The client application then needs to simply create an object of the proxy class and call its methods to invoke the Web methods of the Web Service remotely.

In this section, we discuss how to discover and generate a proxy class for a Web Service:

  • By adding a Web reference using Visual Studio .NET

  • By using command-line tools: the Web Services Discovery tool (disco.exe) to discover Web Service–related information ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.