Copying content between the variables

One of the fundamental functionalities of a BPEL process is the manipulation of XML data from the request via various intermediate operations and transformations to the response. This recipe explains the principles of copying content between the variables.

Getting ready

For this recipe, we will clone the FromSpecBPEL.bpel process from the previous recipe and create two BPEL processes: VarCopy1_1.bpel (synchronous BPEL process, Version 1.1) and VarCopy2_0.bpel (synchronous BPEL process, Version 2.0).

How to do it…

The following steps explain how to copy content between variables in a BPEL process:

  1. Open the VarCopy1_1 BPEL process and add the assign (AssignCopy) activity.
  2. Double-click on the assign activity. The ...

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.