Generating the .NET API

.NET development is supported using wrapper classes generated from the WSDL for Process Engine Web Service. This provides .NET developers with the same set of interfaces supplied for Web services development. Either C# or VB.NET wrapper classes can be generated.

The following instructions describe how to import the Process Engine Web Service WSDL file into a Visual Studio project, generating the set of wrapper classes:

  1. Verify that the WASP server is configured correctly, is running, and you can access the WASP server host. Refer to Administration for more information.
  2. Open your project in Visual Studio.
  3. From the Project menu, select Add Web Reference....
  4. In the "Add Web Reference" dialog, enter the URL for the Process Engine Web Services listener (distinguished by whether HTTPS is enabled for Process Engine Web Services):
        
        http://content_engine_host:port/wsi/ProcessEngineWS

    or

        https://content_engine_host:port/wsi/ProcessEngineWS

    Where content_engine_host is the machine name of the Content Engine host, and port is the port number assigned to the Content Engine. If Process Engine Web Service is running (and you can access the Content Engine host), the URL will retrieve the Process Engine Web Service WSDL.

    Note: This does not imply that the Process Engine server to which the Process Engine Web Service connects is also running.

  5. Click Go. The dialog box should display the methods exposed by the Process Engine Web Service. If desired, you can update the assigned "Web reference name".
  6. Click Add Reference. This will add the specified web reference name entry under a "Web References" folder in your project.
  7. The Process Engine Web Service API will be displayed under a project_default_namespace.web_reference_name node in the Object Browser.

See Operations and Messages for documentation of the generated API (the portType operations are equivalent to methods in the generated wrapper classes).