Generating the WSDL

Developers of client applications who want to use the WelcomeUsers service will need a concrete WSDL to be able to access the application. You can generate this WSDL from the Administrator interface in the BPM runtime.

Note: If you do not have access to the Administrator interface in the BPM runtime, you will need to get an administrator to perform this step for you.

Procedure

  1. In the Deployment Servers view, right-click XYZ Work Server1 and select Open > Administrator. The login screen for the Administrator interface in the BPM runtime is displayed.
  2. Log in using an appropriate username and password.
  3. Click Applications.
  4. In the Applications list, click com.example.welcomeusersservice_1.0.0.timestamp. The application details are displayed below the list.
    Note: Make sure that the application has deployed successfully. The Runtime State shown against com.example.welcomeusersservice should be Deploy with Start Successful.
  5. On the Details tab, click Binding Status.
  6. Select the Binding Path entry that ends in WelcomeUsersService_EP (in service).
  7. Click Generate WSDL. The WSDL document representing the deployed service is displayed (in a new browser window).
  8. Right-click anywhere in the browser window and select View Source to open the WSDL in Notepad.
  9. Save the document as a text file called WelcomeUsersService.wsdl. You can now supply this to client application developers.
    Note: Note that the soap:address location element uses an IP address of 0.0.0.0. A client application (or process) running on the same BPM runtime instance as the BPM application can use this WSDL unaltered to access the service.

    If you want to access the service from a client application that is hosted on a remote system, you will need to replace this IP address with the IP address of the server that is running the BPM application.