Previous page

Next page

Locate page in Contents

Print this page

Generating Proxy Classes From WSDL

  1. In the Solution Explorer pane, select the VzSimpleClient project.
  2. On the Project menu, select Add Web Reference. The Add Web Reference window opens.

In the URL field, type (or copy and paste) this URL: http://www.swsoft.com/webservices/vza/4.0.0/VZA.wsdl

  1. Press the Go button next to the URL field. Visual Studio will try to connect to the SWsoft web site and retrieve the Agent web service information. After a few seconds (depends on the connection speed), you should see a single entry in the Web services found at this URL list box: 1 Service Found: - VZA
  2. Type VZA in the Web reference name field replacing the default value (in general, you can choose any name that you like). This name will be used in your code as the C# namespace to access the selected service.

Press the Add Reference button. This will generate proxy classes from Agent WSDL specifications and will add them to the project. A new item VZA will appear in the Solution Explorer in the Web References folder. You can now start using generated classes to access Agent services.

In This Section

Errors and Resolution

Please send us your feedback on this help page