BPEL variables
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:
- XML schema type (Type)
- WSDL message type (Message Type)
- XML schema element (Element)
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 ...
Get Oracle SOA BPEL Process Manager 11gR1 – A Hands-on Tutorial 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.