O'Reilly logo

BPEL and Java Cookbook by Jurij Laznik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required