Interaction1
Interaction2
I will explain Interaction between BPEL 2 BPEL Process with simple example.
Complete Process -
BPEL Process 1 will call BPEL Process 2.Both are Synchronous processess.
In this example I will use Message Type "OrderInfo" Message Type Element.Please Refer http://eoracleapps.blogspot.com/2009/11/how-to-call-synchronous-bpel-process.html for More Information on "OrderInfo" Message Type.
Import theMessage type in your Project and assign that to input and output variable of BPEL Process 1.
BPEL Process -1
Design BPEL Process 1 with simple Assign activity b/w input and output variables.
Configure the Assign activity of Process 2 , by Double Click > Copy Operations > Copy i/p to o/p and copy Constant Expression "BPEL 2" to Status2 filed of message structure as shown below.
![](http://4.bp.blogspot.com/_7Ak4gihVK6k/SwKGCYcu5rI/AAAAAAAABKc/eI2EXnrshxw/s320/B2B_2004.jpg)
![](http://3.bp.blogspot.com/_7Ak4gihVK6k/SwKGD1GX2qI/AAAAAAAABKk/C4W6rG1FvRI/s320/B2B_2005.jpg)
![](http://3.bp.blogspot.com/_7Ak4gihVK6k/SwKGFQtB98I/AAAAAAAABKs/Z-uwAZvSzOM/s320/B2B_2006.jpg)
![](http://1.bp.blogspot.com/_7Ak4gihVK6k/SwKGHjS6K-I/AAAAAAAABK0/NAgbdKghTlg/s320/B2B_2007.jpg)
![](http://1.bp.blogspot.com/_7Ak4gihVK6k/SwKGJ8R5HWI/AAAAAAAABK8/huukU24EOug/s320/B2B_2008.jpg)
Testing - Run the BPEL Process and add the Input data ( Based on Order Info Element).
![](http://1.bp.blogspot.com/_7Ak4gihVK6k/SwKGLLHY9uI/AAAAAAAABLE/tFkGIGqKFaU/s320/B2B_3001.jpg)
Verify the output.
![](http://1.bp.blogspot.com/_7Ak4gihVK6k/SwKGMAzY0jI/AAAAAAAABLM/y4jVDkVQPtk/s320/B2B_3002.jpg)
hey..its an awesome blog...keep up this good posts...may GOD help u in all walks of life..i m too in i.t.field...hope u will like to visit my blogs too...
ReplyDeletehttp://rishabhdidwania.blogspot.com/
http://howugetsuccess.blogspot.com/
Once again this is really example , I am trying to install SOA suite , if possible send me some pointer for installation guides
ReplyDelete