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 name = "age" type="int"/>
<element name = "responseTime" type="dateTime"/>
<element name = "child" type = "string" minOccurs = "1" maxOccurs = "unbounded"/>
</sequence>...