8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 1/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/
My Tech Blog
Java Web Service SOA
Home
My Learnings
Java
XStream
ESB
BPEL
Webservices
Hibernate
SQL
J2EE
Type text to search here...
Home > BAM > Integrating BPEL and BAM in Oracle SOA11G using Sensors
Integrating BPEL and BAM in Oracle SOA11G using Sensors
October 6, 2011 sabapathy Leave a comment Go to comments
In this post we will see how to integrate BPEL with BAM Dashboard using BAM sensors in Oracle SOA 11G.
Here I have taken train ticket booking example. The User will pass the information which is required to book the
train ticket. Her e I have give a sample contract used for ticket booking sample.
Follow
“ ”
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 2/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 2
Contract
2.Then I have created bpel process to book the ticket.
2.1 In the First Initialization activity will initialize the “dateOfBokking” to current time and “ticketStatus” to
“PROCESSING”.
2.2. The ticketStatus will updated to “CONFIRMED” after checking the availability and payment completion.
BPELProcess
3. Create Active Data Objects from BAM by entering into BAM application as BAM Architect.
BAMArchitect
4. Create a folder “TicketBooking” inside “Training” Folder.
Get every new post delivered
to your Inbox.
Enter your email address
Sign me up
Pow ered by WordPress.com
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 3/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 3
CreateFolder
5. Create a Data Object for monitoring the datas from BAM.
BookingDataObject
6. Then To Create different type of chart based on the Data Object column details, enter as Active Studio
BAMStudio
7. Then Choose any Tab based on requirement. My reports or Shared Reports. Then Created one folder
“TicketBookingDashboard” inside “Training” folder.
Then Click Create New Report to create a Report.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 4/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 4
CreateReport
8. Then Choose one Template from the provided template. I have chosen First Column third one.
ChooseTemplate
9. Choose the ChartType.
ChooseChartType
10. Select Updating Order List then choose Data Object –>Select Data Fields required to monitor –>
Finish
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 5/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 5
ChooseDataObject
DataFields
11. Then Select 3D Bar chart. Then Choose Data Object –> Choose Chart values –> Finish
BarchartDataObject
BarChartDataFields
12. Select 3D Pie Chart. Select Data Object –> choose Data Fields –> Finish.
PieChartdataFields
13. Now the Ticket Booking Dashboard will look like the below. Then Save the Report.
DashBoard
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 6/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 6
14. Now the Data Objects and Report are created for monitoring the Ticket Booking application.
15. Now configure the Sensor and Sensor Action on the BPEL process by clicking the monitor button.
MonitorMode
16. Configure the Sensor in Initialization activity.
ConfigureSensor
Init_CreateActivitySensor
16.1. Add the Variable by clicking the + symbol.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 7/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 7
createVariable
XpathBuilder
Init_Sensor
17. Configure the Sensor at assignResponse activity . Because At assingResponse activity only the variable
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 8/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 8
“ticketStatus” in inputVariable is updated to “CONFIRMED”. To monitor this ticketstatus varible put a sensor
like shown above.
CompletionActivitySensor
18. Create BAM Sensor Action from the bpel project structure like shown below.
CreateBAMSensorAction
18.1. Create BAM Sensor Action for InitActSensor configured at Initialization activity.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 9/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 9
CreateSensorAction_1
18.2. To get the Data Objects from BAM configure BAM Connection. To configure BAM Connection
please click here. Select Operation is UpSert. If the record not available in BAM Data objects means it will
insert the record else update the record into Data object table.
SelectBAMDataObject
18.3. Select one Unique ID in the Data object table to update the record incase if it will be available. Then
create Mapping XSL file by clicking + symbol.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 10/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 10
CreateSensorAction_2
Sensor Action Mapping file for sensor placed at Initialization activity.
InitSensorActionMapping
19. Similarly configure Sensor Action for assiognResponse activity like configured before to monitor the finalticket status.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 11/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
http://rathinasaba.wordpress.com/2011/10/06/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors/ 1
CompleteSensorAction
Create Sensor Action mapping file for sensor placed at assignResponse activity.
CompleteSensorActionMapping
20. Deploy the BPEL process and Test teh BPEL. The BAM Dashboard will be updated automatically with any
refresh button in the Dashboard.
The Sample Dashboard for ticket booking. based upon your reuirement you can design your dashbord based on
the data object fields you have in Data Objects.
8/13/2019 Integrating BPEL and BAM in Oracle SOA11G Using Sensors
http://slidepdf.com/reader/full/integrating-bpel-and-bam-in-oracle-soa11g-using-sensors 12/12
2/3/2014 Integrating BPEL and BAM in Oracle SOA11G using Sensors | My Tech Blog
TicketBookingReport
Be the first to like this.
Categories: BAM Tags: BAM Sensors, BAM Sensors Oracle SOA11G, BPEL-BAM Sensors, Integrating
BPEL BAM, Integrating BPEL BAM using Sensors, Oracle SOA 11G BAM sensors, Oracle SOA11G
Sensors
Comments (1) Trackbacks (0) Leave a comment Trackback
1.
pankaj
You May Like
1.
About t hese ads
Related
How to disable BAM from … SOA11G - Fault Handl ing … SOA 11G: Compos ites De…