Using the Database Binding Component

ProcedureTo Edit the Basic Activities : Assign2

  1. Double-click the Basic Activity : Assign2.

    This displays the BPEL Mapper window.

  2. Expand the node in the Source tree pane (the left pane) of the BPEL Mapper under Output — Variables.

    For example, FindOut

  3. Expand the node in the Destination tree pane (the right pane) of the BPEL Mapper under Input — Variables.

    For example, SOAPWSDLOpertionOut

  4. Select the node in the Source tree pane.

    For example, FindOut : part : CUSTOMER_Record

  5. Drag the selection to the node in the Destination tree pane.

    For example, SOAPWSDLOpertionOut : part1 : CUSTOMER_Record

    For example, Map the following variables:

    1. PHONE : PHONE

    2. STATE : STATE

    3. NAME : NAME

    4. ZIP : ZIP

    5. ADDRESSLINE1 — ADDRESSLINE1

    6. ADDRESSLINE2 — ADDRESSLINE2

    7. CREDIT_LIMIT — CREDIT_LIMIT

    8. EMAIL — EMAIL

    9. CUSTOMER_ID — CUSTOMER_ID

    10. CITY — CITY

    11. FAX — FAX

    12. DISCOUNT_CODE — DISCOUNT_CODE

      Finally, map part : part1.

    Assign2 Mapper
  6. Click the Design tab.

    The final output is as shown in the illustration.

    Final Mapper
  7. Right-click the project node and select Clean and Build.

    For example, BpelModuleSample

    The following message is displayed.


    BUILD SUCCESSFUL (total time: 2 seconds).
  8. Click Save All.