Adding a Web Reference in Visual Studio

Before you can use web reference facilities in your C# program code, you must first add the web reference to your Visual Studio project.

Use the following steps to add a web reference to any of the Location Intelligence Module web services.

  1. Start Visual Studio.
  2. On the File menu, select New > Project.

    The New Project dialog box opens.

  3. In the New Project dialog box, enter the desired settings, then click OK.
  4. In the Solution Explorer pane, right-click on References. On the pop-up menu, select Add Web Reference.

    The Add Web Reference dialog box opens.

  5. In the Add Web Reference dialog box, enter the URL to the web service's WSDL document.

    After you have entered the URL, click the Go button. Documentation for the web service then appears under the URL field.

  6. In the Add Web Reference dialog box, note the web reference name provided in the Web Reference Name field, then click the Add Reference button.

    The web reference is added to the project.

After you have completed these steps, you can see the new web reference in the Solution Explorer pane.