O'Reilly logo

Oracle SOA BPEL Process Manager 11gR1 – A Hands-on Tutorial by Ravi Saraswathi, Jaswant Singh

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

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

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