Click or drag to resize

Generating API clients from WSDL

CodeTwo Exchange Rules SDK gives access to .NET platform libraries that contain classes representing the provided API. The provided API lets you develop and build service-oriented custom applications integrated with the Exchange Rules Service. The Exchange Rules Service (including Settings Storage WCF Service) provides the description of these apps in the form of WSDL.

The WSDL provided by CodeTwo Exchange Rules Pro is available under the following address:

WSDL provided by CodeTwo Exchange Rules Pro is available under the following address:

http://localhost:5020/ER.Engine/SettingsStorage/?wsdl

Example of creating API Client from WSDL using Visual Studio 2012
  1. Open Visual Studio and create a new Windows Forms Application Project.

    Create Windows Forms App Project
  2. Next, right-click the newly created solution and from the context menu choose Add Service Reference.

    Add Service Reference
  3. Enter the WSDL address provided by CodeTwo Exchange Rules Pro and click Go. The SettingsStorage WCF Service will be added to the list of available services. Next, define the name of a namespace and click OK.

    Define Wsdl Address
  4. The service reference will be added to your solution and proxy classes will be generated.

    Service Refrence Added To Solution

From now on you can use the generated proxy classes to communicate with the Settings Storage WCF Service. In other words, you can now use the provided API reference to develop your custom applications. Please note that the types of classes (e.g. names, members, etc.) may differ depending on the platform, but you can still execute operations from ISettingsStorage.