This tutorial guides you on how to create a BPEL process to assign a value in the request to the response and echo it using the WSO2 Enterprise Integrator (WSO2 EI) Tooling. It walks you through the steps to demonstrate how you can assign the input string of the request message to the result string of the response message using BPEL Correlation.
...
- Project Name:
EchoCorrelationProcess
- Process Name:
EchoCorrelationProcess
- Template:
Synchronous BPEL Process
For instructions, see /wiki/spaces/EI6xx/pages/49614443Creating a BPEL Workflow.
Creating the artifacts
Follow the steps below to create the required artifacts.
...
Configuring the receiveInput activity
Click on the receiveInput activity and in the Details section of the Properties tab, select
client
as the Partner Link.- Select Process as the Operation.
- In the Quick Pick: box, expand the process → EchoAsyncProjectRequestMessage → payload : EchoAsyncProjectRequest drop down and double click on the process option.
...
- For instructions on creating the deployable artifacts, see /wiki/spaces/EI6xx/pages/49614443Creating the deployable archive.
For instructions on deploying them, see /wiki/spaces/EI6xx/pages/49614443Deploying the BPEL Workflow.
Testing the output
- In the Management Console of the Business Process profile, click Main → Manage → Processes → List → BPEL, and click on the Process ID of the Bank Loan BPEL process you uploaded.
In the WSDL details section, select client as the Partner Link and click Try It.
You can now invoke it with input values.
- In the Request section of the Try It tool, replace the question mark with the Helloworld text.
- Click Send. You view the response in the Response section.
- Click Send again. You view the second response in the Response section.