Updating the variables using the BPELX extensions

This recipe explains how to utilize the BPELX extensions in order to manipulate content of the variables.

Getting ready

For this recipe, we will amend the BPEL processes from the Copying content between the variables recipe. Remember we designed two synchronous BPEL processes: one that supports BPEL 1.1 and one that supports BPEL 2.0. We will amend those two processes with a set of BPELX extensions.

For both the BPEL processes, we will extend the response message. We open the schema file (VarCopy_1_1.xsd and VarCopy2_0.xsd) and amend the content of the response schema element as follows:

<element name = "processResponse"> <complexType> <sequence> <element name = "firstName" type="string"/> <element ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.