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.
From the Process Developer Run menu, select Launch the Web Services Explorer.
Select the icon (upper right pane) for WSDL Page.
Select WSDL Main.
Return to the browser, and in the Process Console, select Service Definitions.
On the
Service Definitions
page, select TutorialService.
From the address bar, copy the TutorialService URL:
Paste this URL into the Web Services Explorer WSDL URL field as shown:
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.
In the Web Services Explorer, select Go under the WSDL URL field.
In the Bindings table, select the link for the supported SOAP binding (SOAP 1.1).
In the Operations table, select the request link.
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:
Select Go, 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 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.
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.