Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 

  1. Click on the receiveInput  activity and in the  Details  section of the  Properties  tab, select  client  as the  Partner Link.

  2. Select Process as the Operation.
  3. In the Quick Pick: box, expand the process → EchoAsyncProjectRequestMessage → payload :  EchoAsyncProjectRequest drop down and double click on the process option.

...

  1. For instructions on creating the deployable artifacts, see /wiki/spaces/EI6xx/pages/49614443Creating the deployable archive.
  2. For instructions on deploying them, see /wiki/spaces/EI6xx/pages/49614443Deploying the BPEL Workflow.

Testing the output

  1. 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.

  2. In the WSDL details section, select client as the Partner Link and click Try It

    You can now invoke it with input values. 

  3. In the Request section of the Try It tool, replace the question mark with the Helloworld text.

  4. Click Send. You view the response in the Response section.
  5. Click Send again. You view the second response in the Response section.