This recipe explains how to utilize the BPELX extensions in order to manipulate content of the variables.
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 (
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 ...