Difference between BPEL 1.1 & BPEL 2.0



New Activities have been added in 2.0 which have replaced the ones in 1.1.

<forEach>

This activity helps repeat the set of activities. The activity replaces the FlowN activity in BPEL 1.1 version.

<repeatUntil>

This activity comes of use if the body of an activity must be performed at least once. The XPath expression condition in the repeatUntil activity is evaluated after the body of the activity completes.

<if>-<elseif>-<else>

This activity replaces the switch activity in BPEL 2.0. The activity enables you to define conditional behavior for specific activities to decide between two or more branches. Only one activity is selected for execution from a set of branches.

<compensateScope>

This activity helps compensate the specified child scope.

<rethrow>

This activity has been added to fault handlers. It enables you to rethrow a fault originally captured by the immediately enclosing fault handler.

Advertisements