Adding a Web reference essentially generates the client interface.
To generate a client interface:
1. Enter the URL for the WSDL file. The TargetURI can be set to either the Web service friendly name (AppObject name, by default) or the TargetNamespace for the Web service, as in the following examples:
2. Rename the Web reference you added to the project appropriately (for example, from servicehost to OrderService). Select the Show All Files toolbar button (or choose Project > Show All Files) to locate the Web reference file, Reference.vb under the renamed Web reference.