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 ...