ActiveBPEL® Designer User’s Guide
Previous | Next
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:
- View the Administration Console
in a workspace browser
- Map the service URNs to URLs
- Launch the Web Services Explorer
- Provide a WSDL URL for testing
- Send a request to the process and receive a reply
Step 1: Open a browser to view the server Administration
Console
You can view deployment details for your processes in the
Administration Console.
- On the Designer menu bar, select
the icon.
- In the address field, type in
http://localhost:8080/BpelAdmin as shown
in the example.

- On the Configuration page, select .
- Add a URN to URL mapping for the LoanApprover and Risk
Assessment services as shown:
urn:x-vos:loancompany:LoanApprovalService
http://localhost:8080/active-bpel/services/LoanApprovalService
urn:x-vos:loancompany:RiskAssessmentService
http://localhost:8080/active-bpel/services/RiskAssessmentService

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.
- From the Designer menu,
select .
- Select the icon (upper right pane) for .
- Select .
- Return to the browser, and in the Administration Console,
select .
- On the Deployed Services page, select TutorialService.
- From the address bar, copy the TutorialService URL:
http://localhost:8080/active-bpel/services/TutorialService?wsdl
- Paste this URL into the Web Services Explorer WSDL URL
field as shown:

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.
- In the Web Services Explorer,
select under the WSDL URL field.
- Select the request link.
- Fill in the message parts. The required parts are Last
Name and amountRequested. Fill in a low amount, such as 5000, as
shown:

- Select , which is located at the
bottom of the message.
- Click the Source link, and then double-click the Status
box to see the SOAP request and response sent and received.

- In the Administration Console, select . Notice that three processes have completed.
- 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.

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.
Copyright (c) 2004-2008 Active Endpoints, Inc.