Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In Solution Explorer, right click the name of the project that you want to add the service to, and click Add Service Reference.
  2. The Add Service Reference dialog box appears.
  3. In the Add Service Reference dialog box, click Advanced.
  4. The Service Reference Settings dialog box appears.
  5. In the Service Reference Settings dialog box, click Add Web Reference.
  6. The Add Web Reference dialog box appears.
  7. In the URL box, enter the URL of the Web service.
  8. Select the PublicAPI RealTimeData Web Service.
  9. In the Web reference name field, enter a name that you will use in your code to access the selected Web service programmatically.
  10. Click Add Reference.
  11. If your project does not already have one, Visual Studio creates a WebReferences folder. It then creates files that are required for the proxy class using the name that you provided in step 9.
  12. Now you are ready to invoke the methods exposed in the service, and consume the data.

...