Generate the client proxy

You can generate a client proxy by using the proxy generator called wsdl.exe, which is installed with Microsoft®Visual Studio®.
  1. In the Microsoft Visual Studio installation folder, locate the bin folder that contains the proxy generator called wsdl.exe (for example, C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\wsdl.exe).
  2. At the Windows® command prompt, navigate to the bin folder that contains the proxy generator.
    cd C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\wsdl.exe
  3. Invoke wsdl.exe to generate the client proxy, and add as an argument the address of each WSDL file that you want to use.
    wsdl.exe /sharetypes /out:C:\Temp\proxy.cs 

Was this information helpful? Send us your comments.