Microsoft Visual Studio .NET Environments

The RPM Web Services currently support the C++/C#/VB API.

Visual Studio languages access the RPM Web Services API through objects that serves as proxies for their server-side counterparts. Before sing the RPM Web Services API, you must first generate these objects form your WSDL files.

Visual Studio provides two approaches for importing your WSDL files and generating a Web service client: an IDE-based approach and a command line approach.

.NET with C#

Adding a Web reference:

  1. On the Project menu, choose Add Web Reference.
  2. In the URL box of the Add Web Reference dialog box, type the URL to obtain the service description of the XML Web service you want to access, such as: File://c:/wsdlrep/Application.wsdl
  3. Click the Go button to retrieve information about the XML Web service
  4. In the Web reference name box, rename the Web reference to the wsdl file name.
  5. Click Add Reference to add a Web reference for the target XML Web service.
  6. Visual Studio retrieves the service description and generates a proxy class to interface between your application and the XML Web service

You can now start using the API and begin development.

Using Visual Studio Tools:

  1. Install the .NET SDK framework.
  2. Have wsdl.exe in your path.
  3. Open a command prompt window.
  4. Go to your \wsdl folder.
  5. Execute the command: wsdl /l [CS/VB/JS] yourwsdlfilename.wsdl.. This will generate the API with the following files:
    • Youwsdlfilename.cs for C#
    • Youwsdlfilename.vb for Visual Basic
    • Youwsdlfilename.js for Jscript

You can now start using the API and begin development.