Adding a Web Reference in Visual Studio - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

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