Similar to Java, BPEL Variables are used to contain temporary data. A variable can either contain an XSD value or a WSDL message.
Oracle BPEL Process Manager has the following types of variables:
Message Type variables are used to hold data in interactions between the process and its partner services.
The BPEL variable holds the message data between a BPEL client, external services, and local data used by the BPEL process. The sample code for declaring a variable in BPEL is given as follows:
<variables> <variable name="hello_world" messageType="Type" /> </variables>
Each variable can be declared
as a messageType
or an element. As shown in the following screenshot, select an activity and click on (x) to edit the output and input variables.
Double-click on the input, output, or OnMessage variable to enter the details of the variable:
One kind of variable type can...