Creating BPEL Mappings

See Also

You can create a mapping from the source tree pane directly to the destination tree pane, without using any of the functions. This type of mapping can be any of the following:

You can also create a mapping that uses one or more XPath functions and XPath extension functions from the BPEL Mapper's menu bar. For example, if the business process includes a Wait activity that waits for a period of time, then you can use the Duration Literal function to specify the duration.

To create a mapping without using any functions:

  1. Open the bpel mapper.
  2. In the source tree pane, expand the tree component until the node that you want to map from appears.
  3. If the destination tree pane contains a tree component, then expand the tree component until the node that you want to map to appears.

    Tip: To expand or collapse all the nodes in the destination tree click Collapse/Expand icon located at the top of the tree.

  4. Select the node in the source tree pane and drag the pointer to the node in the destination tree pane.
    A link connects the nodes.

To use a function in a mapping:

  1. Click the drop-down menu that contains the function.
  2. Click the function.
    A function box appears in the middle pane.
  3. Map any arguments into the appropriate connector on the left side of the function box. The source can be a node in the source tree pane, a string or the output from another function box. If an argument is optional, then a question mark appears after the argument name on the source pane.
  4. Map the result from the right side of the function box. The destination can be a node in the destination tree pane or the input into another function box.

To minimize a link or function in a mapping:

  1. Select the link or function.
  2. Click a small minus icon at the point where the link enters the destination tree pane.

To delete a link or function in a mapping:

  1. Select the link or function.
  2. Press Delete.
See Also
About the BPEL Mapper
Working with Predicates
XPath Function Reference

Legal Notices