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:
- Variable to variable
- Part to part
- XSD element to XSD element
- XSD attribute to XSD attribute
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:
- Open the bpel mapper.
- In the source tree pane, expand the tree component until the node that you want to map from appears.
- 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.
- 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:
- Click the drop-down menu that contains the function.
- Click the function.
A function box appears in the middle pane.
- 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.
- 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:
- Select the link or function.
- 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:
- Select the link or function.
- Press Delete.
- See Also
- About the BPEL Mapper
- Working with Predicates
- XPath Function Reference
Legal Notices