Tuesday 22 February 2011

Timeout settings in SOA 11g

To increase the timeout in BPEL component, we need to remember following rule,

syncMaxWaitTime < BPEL EJB's transaction timeout < Global Transaction Timeout

Now,

1.How to set Global Transaction Timeout.

Go to weblogic console –> domain –>JTA tab.

image

2.How to set BPEL EJB's transaction timeout

Go to weblogic console—>deployment—>soa-infra—>ejb

Change the timeout of all bpel related ejb configuration,

 

image

3.How to set syncMaxWaitTime

Go to bpel properties from em console,

image

Go to more bpel configuration and in mbean increase the timeout value,

image

Sunday 20 February 2011

My First BPM Project

 

Thought I continued back with technical blogging,its been long back…..

Here I installed BPM 11.1.1.4 with SOA 11.1.1.4. Hope this gives you some fair idea of creating a BPM project from scratch…

Say, we need to validate credit card against database table.

1. Create a table containing card details.

2.Create a new BPM project , choose synchronous template.

3.Create a DB adapter that select status of a card based on card no parameter in SOA composite editor.

4.Drag a web service adapter and define a synchronous interface.

image

5.Go to BPM process and in start activity select interface from catalogue and select your web service just created.

image

6.Create a business object under module .

7.Create a process data objects holding input and output schema of your synchronous service.

8.Open the start activity and associate input to the BPM process.

image

9.Drag a service call and point to your DB Adapter in implementation.

image

10.You have to select input card no to the parameter of DB adapter and output of DB adapter to your bpm project status output variable.

Setting input,

image

setting output using transformation,

image

11. At last in end activity assign the output

imageimage

So your final project will be look like,

image

image