Homepage / Doc / Adding a service reference

Adding a service reference

Note: we are using C# and Visual Studio 2015 for this example, but you may use whatever environment or language you would like.

  1. Create a new project or open an existing one
  2. Right click the “References” folder
  3. Find and select “Add Service Reference” (for .NET Framework 3.0 and up) or “Add Web Reference” (for .NET Framework 2.0 and 1.1).
  4. Enter the address for the service you want to use
  5. Click “Go”
  6. Select the contract you want to use
  7. Enter a name for the proxy class that will be created
  8. Click “OK”
November 10, 2016