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.

Note

Also, if you are facing any problems with this Tutorial, you can import the pre-packaged project of this Tutorial to WSO2 EI Tooling, and compare your configurations with the ones in it.

Tip

Before you begin,

  • Install Oracle Java SE Development Kit (JDK) version 1.8.* and set the JAVA_HOME environment variable.
  • Download the WSO2 EI ZIP file
    • Download the product installer from here, and
    then extract
    • run the
    ZIP file. 
    The path to this folder will be referred to as <EI_HOME> throughout this tutorial.
    • installer.
      Insert excerpt
      Installing the Product
      Installing the Product
      nopaneltrue
    • Select and download the relevant WSO2 EI tooling ZIP file based on your operating system from here and then extract the ZIP file.
      The path to this folder

    will be
    • is referred to as <EI_TOOLING>

     throughout
    • throughout this tutorial.

      Info
    For more detailed installation instructions, see Installing Enterprise Integrator Tooling.
    This tutorial includes the following sections, which include instructions to create the below BPEL Workflow.

    Table of Contents
    maxLevel5
    minLevel3

    ...

    1. Right click on the FIX_ME-Add_Business_Logic_Here element, and click Delete to remove it from the default diagram.
    2. Drag and drop an Assign activity to the canvas and place it after the receiveInput activity.

      Tip

      Drag and drop this from the Actions section of the Palette.

      Image Removed

    3. Drag and drop an Receive activity to the canvas and place it after the replyOutput activity.
    4. Drag and drop another Assign activity to the canvas and place it after the Receive activity.

    5. Drag and drop a Reply activity to the canvas and place it after the Assign1 activity.
      You view the artifacts you added as shown below. 

    ...

    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.

    ...