Using the BPEL Mapper's graphic
interface, you can perform calculations by assigning XPath operations and functions
to variables and to XSD elements, attributes, and parts. A simple variable copy
operation is shown in the following example.
You need to first click on the Assign activity in the Design view and switch to
Mapper view using the views button provided as shown in the above figure. For
copying values of variables, drag-and-drop from one variable to another.
The BPEL Mapper enables you to create a predicate that consists of XPath functions.
A predicate applies a condition to a node that can have multiple values. The result is
the subset of nodes that satisfy the condition. The BPEL Mapper has a menu bar that
shows a collection of XPath. These functions are based on the XPath 1.0 specification.
For mapping examples and more information on predicates and XPath
function reference, refer to The BPEL Mapper section of the Developers
Guide to the BPEL Designer available at http://www.netbeans.org/
kb/60/soa/bpel-guide-mapper.html.
Chapter 5
[ 83 ]
Palette
When you create a new BPEL module, NetBeans IDE automatically shows the
Activities Palette window. The Palette consists of BPEL activities that you can
drag-and-drop on the designer (Design view). The Palette activities are broadly
classified into three types, namely Web Service, Basic Activities, and Structured
Activities.
Pages:
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94