Posts

Showing posts from June 5, 2013

setTitle for instances in SOA11g

Image
Implement the below setTitle feature by following the detailed flow. It is good practice to name composite instance. If you name your composite instance the you can uniquely identify the instance. To give composite instance a name you simple need to add one java embedding activity inside BPEL and add one function inside that java embedding activity. Here are the steps that you can follow to name a composite instance. 1) Create a sample Addition Synch BPEL which will add two numbers. 2) Create a string variable and name it "Title". 3) Add assign activity after receive activity and assign name to Title variable. concat("Inputs: ",bpws:getVariableData('inputVariable','payload','/client:process/client:input1'),", ",bpws:getVariableData('inputVariable','payload','/client:process/client:input2')) 4) Add java embedding activity after assign activity. In that activity add below function