1. Getting Started

1. Getting Started

Part 12: Using the Web Services Explorer to Start a Process

Part 12: Using the Web Services Explorer to Start a Process

If you deployed your tutorial to Process Server and do not yet have an Identity Service enabled, you will not be able to sign into Process Central. Process Central requires that authenticated users sign in, enabled through the Identity Service in Process Server. The Process Central embedded in Process Developer is already enabled.
To start your process from an Process Server, such as JBoss or WebLogic, use the following instructions to use the Web Services Explorer.
Step 1: Launch the Web Services Explorer
You need to copy the
TutorialService
URL into the Web Services explorer in order to send a request to the process.
  1. From the Process Developer Run menu, select Launch the Web Services Explorer.
  2. Select the icon (upper right pane) for WSDL Page.
  3. Select WSDL Main.
  4. Return to the browser, and in the Process Console, select Service Definitions.
  5. On the
    Service Definitions
    page, select TutorialService.
  6. From the address bar, copy the TutorialService URL:
    http://localhost:8080/active-bpel/services/TutorialService?wsdl
  7. Paste this URL into the Web Services Explorer WSDL URL field as shown:
    WSDL URL of Web Services Explorer
Step 2: Send a Request to the Process
You can create an instance of the process by using the Web Services Explorer to initiate the Receive activity in
tutorial.bpel.
  1. In the Web Services Explorer, select Go under the WSDL URL field.
  2. In the Bindings table, select the link for the supported SOAP binding (SOAP 1.1).
  3. In the Operations table, select the request link.
  4. Fill in the message parts. The required parts are Last Name and amountRequested. Fill in
    Smith
    for Last name and a high amount, such as
    15000
    , as shown:
    invoke request operation
  5. Select Go, which is located at the bottom of the message.
  6. Click the Source link, and then double-click the Status box to see the SOAP request and response sent and received.
    SOAP response
  7. In the Process Console, go back to the Service Definition page, and select Home from the menu, and then select Active Processes. Notice that two processes completed.
  8. On the
    Active Processes
    page, select the tutorial process. You can see the actual results returned from the loan approval service. The high amount loan request was sent to the approver. The approver approved the loan.
    active process
For more details about the two services, and to debug your running or completed process from within Process Developer, go to Tutorial Part 11: Debugging Your Process Remotely .


Updated March 09, 2020