ActiveBPEL® Designer User’s Guide

Tutorial Part 10: Running the Process on the Server

To start at the beginning of the tutorial, see Introduction to ActiveBPEL Tutorial.

If you have followed all tutorial parts so far, you have deployed a BPEL process to ActiveBPEL Server.

After deploying the process to the ActiveBPEL Server, you can run the process by sending in a credit information request and getting back a response from the assessor or approver.

By completing Part 10 of the tutorial, you will be able to:

Step 1: Open a browser to view the server Administration Console

You can view deployment details for your processes in the Administration Console.

  1. On the Designer menu bar, select the Open Web Browser icon.
  2. In the address field, type in http://localhost:8080/BpelAdmin as shown in the example.
  3. Administration Console

  4. On the Configuration page, select URN Mappings.
  5. Add a URN to URL mapping for the LoanApprover and Risk Assessment services as shown:
  6. urn:x-vos:loancompany:LoanApprovalService

    http://localhost:8080/active-bpel/services/LoanApprovalService

    urn:x-vos:loancompany:RiskAssessmentService

    http://localhost:8080/active-bpel/services/RiskAssessmentService

    URN mappings

Step 2: Launch the Web Services Explorer

We need to copy the TutorialService URL into the Web Services explorer in order to send a request to the process.

  1. From the Designer 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 Administration Console, select Deployed Services.
  5. On the Deployed Services page, select TutorialService.
  6. From the address bar, copy the TutorialService URL:
  7. http://localhost:8080/active-bpel/services/TutorialService?wsdl

  8. Paste this URL into the Web Services Explorer WSDL URL field as shown:
  9. WSDL URL of Web Services Explorer

Step 3: 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. Select the request link.
  3. Fill in the message parts. The required parts are Last Name and amountRequested. Fill in a low amount, such as 5000, as shown:
  4. 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.
  7. SOAP response

  8. In the Administration Console, select Active Processes. Notice that three processes have completed.
  9. On the Active Processes page, select the tutorial process. You can see the actual results returned from the loan approval service. The low amount loan request first went to the assessor, and because of the programming logic, was sent to the approver for review. The approver approved the loan.
  10. active process

For more details about the two services, and to debug your running or completed process from within ActiveBPEL Designer, go to Tutorial Part 11: Debugging Your Process Remotely.