Académique Documents
Professionnel Documents
Culture Documents
Contents
Define Data Object (#Define_Data_Object) Login BAM Console (#Login_BAM_Console) Create Subfolders (#Create_Subfolders) Create Data Objects (#Create_Data_Objects) Define BAM Dashboard (#Define_BAM_Dashboard) Open Active Studio (#Open_Active_Studio) Create Report Folders (#Create_Report_Folders) Create a New Report (#Create_a_New_Report) Configure Top Tile (#Configure_Top_Tile) Configure Lower Left Tile (#Configure_Lower_Left_Tile) Configure Lower Right Tile (#Configure_Lower_Right_Tile) Save Report (#Save_Report) Configure BAM Adapter on WebLogic Server (#Configure_BAM_Adapter_on_WebLogic_Server) Create BAM Plan Directory (#Create_BAM_Plan_Directory) Configure BAM Adapter (#Configure_BAM_Adapter) Redeploy BAM Adapter (#Redeploy_BAM_Adapter) Add BAM Connection to POProcessing (#Add_BAM_Connection_to_POProcessing) Use BAM Adapter in POProcessing (#Use_BAM_Adapter_in_POProcessing) Add BAM Adapter to POProcessing (#Add_BAM_Adapter_to_POProcessing) Connect Mediator Component to BAM Adapter (#Connect_Mediator_Component_to_BAM_Adapter) Test BAM Adapter Connection (#Test_BAM_Adapter_Connection) Check Data Object Contents (#Check_Data_Object_Contents) Add BAM Sensors to BPEL Process (#Add_BAM_Sensors_to_BPEL_Process) Set Order Status to 'Pending Approval' (#Set_Order_Status_to_Pending_Approval) Add sensor: PendingApprovalActivitySensor (#Add_sensor:_PendingApprovalActivitySensor) Add sensor action: PendingApprovalSensorAction
(#Add_sensor_action:_PendingApprovalSensorAction)
Add sensor: CallbackActivitySensor (#Add_sensor:_CallbackActivitySensor) Add sensor action: CallbackSensorAction (#Add_sensor_action:_CallbackSensorAction) Test BPEL Sensors (#Test_BPEL_Sensors) Test Large Order (#Test_Large_Order) Issues (#Issues) Cannot Find Sensor Tab (#Cannot_Find_Sensor_Tab)
jianmingli.com/wp/?p=2788 1/10
6/27/13
Create Subfolders
* Click on Architect button to open the Architect application page. * In the upper left corner "Folders" pane, click the Data Objects folder. * In the right side pane, click Create Subfolder link. * Enter Training and click Create Folder button. * Click Continue button. * Create another subfolder named POProcessing within the newly created Training folder.
6/27/13
Save Report
* Click Save Report link under Actions pane. * Choose Shared Reports/Training/POProcessing subfolder * Accept default report name of POProcessing Report. * Click OK button.
6/27/13
* BAM adapter is used to send events to data object from POProcessing composite.
6/27/13
* Click Finish.
- Select Operation: Upsert - Opeation Name: writetoBAM - Enable Batching: selected - Selected: _Order_ID - JNDI Name: eis/bam/rmi
* Save all.
6/27/13
< n s 1 : P u r c h a s e O r d e r >< n s 1 : C u s t I D > 1 1 1 1 < / n s 1 : C u s t I D >< n s 1 : I D > S M A L L 1 V A L I D < / n s 1 : I D >< n s 1 : p r o d u c t N a m e > i P o dS h u f f l e < / n s 1 : p r o d u c t N a m e > < n s 1 : i t e m T y p e > E l e c t r o n i c s < / n s 1 : i t e m T y p e >< n s 1 : p r i c e > 1 0 0 . 9 9 < / n s 1 : p r i c e > < n s 1 : q u a n t i t y > 3 < / n s 1 : q u a n t i t y >< n s 1 : s t a t u s > I n i t i a l < / n s 1 : s t a t u s > < n s 1 : c c T y p e > M a s t e r c a r d < / n s 1 : c c T y p e >< n s 1 : c c N u m b e r > 8 7 6 5 8 7 6 5 8 7 6 5 8 7 6 5 < / n s 1 : c c N u m b e r >< / n s 1 : P u r c h a s e O r d e r >< / s o a p : B o d y >< / s o a p : E n v e l o p e >
Add BAM Sensors to BPEL Process Set Order Status to 'Pending Approval'
* Open JDev. * Open POProcessing composite.xml file. * Double click approveLargeOrder BPEL component to open it. * Double click assignCCNumber activity to open it. * Copy 'Pending Approval' (with single quotes) to the status field of the Order output Variable (ouputVariable/payload//ns2:Order/ns2:status).
6/27/13
- Sensor: PendingApprovalActivitySensor - Data Object: Training/POProcessing/Orders (Click magnifying glass and browse to BAMServerConnection1 -> Training -> POProcessing -> Orders) - Operation: Upsert - Keys: _Order_ID - Map File: bam\xsl\PendingApprovalSensorAction.xsl and map payload/variableData/data/Order to Orders1Collection/_Orders. - BAM Connection Factory JNDI: eis/bam/rmi - Enable Batching: checked * Click OK.
6/27/13
I N V C C < / n s 1 : I D >< n s 1 : p r o d u c t N a m e > S t e r e o < / n s 1 : p r o d u c t N a m e > < n s 1 : i t e m T y p e > M u s i c < / n s 1 : i t e m T y p e >< n s 1 : p r i c e > 1 5 0 . 9 9 < / n s 1 : p r i c e > < n s 1 : q u a n t i t y > 5 0 < / n s 1 : q u a n t i t y >< n s 1 : s t a t u s > I n i t i a l < / n s 1 : s t a t u s > < n s 1 : c c T y p e > M a s t e r c a r d < / n s 1 : c c T y p e >< n s 1 : c c N u m b e r > 4 3 2 1 4 3 2 1 4 3 2 1 4 3 2 1 < / n s 1 : c c N u m b e r >< / n s 1 : P u r c h a s e O r d e r >< / s o a p : B o d y >< / s o a p : E n v e l o p e >
* Log into BAM console * Start Active Viewer application. * Click Select Report and select POProcessing Report * Notice that new purchase order is shown on the ordered list with status of invalidCreditCard:
L A R G E 1 I N V C C1 1 1 1S t e r e oM u s i c1 5 0 . 9 95 07 , 5 4 9 . 5i n v a l i d C r e d i t C a r d
* Open Active Viewer and check that new order is shown on the ordered list with a status of "Pending Approval".
L A R G E 1 V A L C C1 1 1 1S t e r e oM u s i c1 5 0 . 9 95 07 , 5 4 9 . 5P e n d i n gA p p r o v a l
* Log into Worklist application to approve the order. * Check that order status is changed to "Approved".
L A R G E 1 V A L C C1 1 1 1S t e r e oM u s i c1 5 0 . 9 95 07 , 5 4 9 . 5a p p r o v e d
6/27/13
* Since JDev 11.1.1.2, all monitor features have been moved into a new perspective call "Monitor". Click the Monitor button next to the BPEL button on the upper right corner of the editor pane to turn on Monitor perspective.
References
Getting Started With Oracle SOA Suit... Heidi Buelow, Mana... Best Price $41.90 or Buy New $53.99
* http://download.oracle.com/docs/cd/E12839_01/soa.htm
(http://download.oracle.com/docs/cd/E12839_01/soa.htm)
* Oracle Fusion Middleware Domain Template Reference 11g Release 1 (10.3.4) Part Number E14138-07 (http://download.oracle.com/docs/cd/E17904_01/web.1111/e14138/toc.htm) * Oracle Learning Library (http://apex.oracle.com/pls/apex/f?p=44785:1:3564148054738526)
Let us talk about Name and Mail are required Name Mail(will not be published) Website
jianmingli.com/wp/?p=2788 9/10
6/27/13
... on Topic
(#) Submit
CAPTCHA Code *
Include a Page in WordPress Post (http://jianmingli.com/wp/?p=2839) || SOA 11g Tutorial: Service Data Objects (SDO) (http://jianmingli.com/wp/?p=2838) Top 2013,Jianming Li,WP Theme "mts journey" by mts from WebDesign.
jianmingli.com/wp/?p=2788
10/10