Sample Tutorials

This section contains some downloadable tutorials, which are similar to those provided for every session in the training.

BPEL Tutorials : Using Compensation Handler, Throw activity and Catch handler

The sample brings out how to use compensate handler to provide 'undo' in a BPEL process.  We shall pass two integers num1 and num2.  The result would tell values of num1 + num2, num1 – num2 and num1/num2.   Initially the variables for the results – additionResult, subtractionResult and divisionResult are all set to -1.  The first operation is addition, followed by subtraction and division.  If during division, we find that result is Infinity (which would happen when num2 is zero), we want to undo the assignment of valid values to additionResult and subtractionResult (‘undo’ in the context of this example means setting these back to -1)

BPEL Tutorials : Providing Default Inputs in BPEL console

We want to give default input to our BPEL process to ease testing.  That is, when you open the initiate tab in the BPEL console, it comes pre-populated with some values.  This can be pretty useful when you need to test a BPEL process. It saves you of entering/remembering the sample inputs.

BPEL Tutorials : Using BPEL Properties stored in bpel.xml

How to externalize values in a process instead of hard-coding them in the BPEL process.  This is a really important feature to learn because the values mentioned in the bpel.xml file can be modified at runtime.  This means, for example, if you have put the email id of the support team as a property, you would be able to change that email without undeploying and redeploying the process.

BPEL Tutorials : How to change the target database dynamically

The tutorial discusses how you can select a target for an adapter at runtime (dynamic partnerlinks).  The scenario discussed is that we have two database schemas, USUser and APACUser, each containing Customer table.  We have some incoming customer data.  If the customer is a US customer, we want to insert it into USUser schema, if he is an APAC customer, the insertion should be done in the Customer table in APACUser.   The catch is that we want to achieve this using a single Database adapter, instead of one database adapter for every target.

Options available to SOA-enable E-Business Suite

As an Apps technical or functional consultant, it is essential for you to understand what options EBS gives you to if you want to talk to a SOA component like BPEL or ESB. The selection depends upon the interaction pattern you are looking for - invoking the SOA component from EBS or invoking EBS components from SOA components, whether the communication needs to be in real time, batch, complexity and technical feasibility.

BPEL Tutorials : Domain Value Maps

Applications that you want to integrate using Oracle BPEL or Oracle ESB are likely use different values to represent the same information. For example, one application might represent a state with the long name (California) while another application may represent the state with an abbreviation (CA). A domain-value map enables you to associate values from one application with values from another.

Buy Documents

The following documents are available for a nominal price.  You can click on the links to see a preview

 

Hello World WSIF Tutorial- $1

From a BPEL process, we want to invoke a Java class that has a method that returns Hello.  This invocation is to be done using WSIF.  For the BPEL process, its immaterial how this calculation is implemented.  All the BPEL process sees is a WSDL.  The WSDL in turn uses WSIF to be able to talk to the Java class. 

BPEL Test Framework Tutorial - $1

To test out BPEL Test Framework.  We shall develop a BPEL process that returns count of characters in the input.  Then we shall add two tests - one positive, one negative.

HTTP Bindings Tutorial - $1

Learn how to call BPEL using HTTP Get protocol instead of SOAP. Essentially you learn how to invoke a BPEL just like any web page- send in a HTTP Get request and server replies with response.

BPEL With Two Operations - $1

Learn to create BPEL process that offers two operations instead of just one

View Errors In ESB_ERROR Topic - $1

Ever wondered how to see the errors in ESB_ERROR topic directly, in raw form ! In this tutorial we generate an error in ESB and see it in ESB_ERROR topic

Using Excel to Invoke BPEL Process- $1

Learn a powerful idea - that of integrating Microsoft products with Oracle's.  Here we learn how to call a BPEL web service from Excel sheet.