SlideShare a Scribd company logo
1 of 49
Download to read offline
Getting Started with Oracle SoA
Oracle SOA Fault Handling in BPEL Process Lab#8
Description:
BISP is committed to provide BEST learning material to the beginners
and advance learners. In the same series, we have prepared a complete
end-to end Hands-on Beginner’s Guide for Oracle SoA. The document
focuses on Fault Handling in a BPEL process. Join our professional training
program and learn from experts.
History:
Version Description Change Author Publish Date
0.1 Initial Draft Shiva Kant Pandey 21st
Nov 2012
0.1 Review#1 Amit Sharma 29th
Nov 2012
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1
Contents
.................................................................................................................................................... 2
Contents....................................................................................................................................... 2
Q) What is fault handling in BPEL process ?..............................................................................3
Business faults: ........................................................................................................................3
Runtime faults: .........................................................................................................................3
Selection failure: Wrong X-Path expression results selection failure fault ...............................4
Create database connection in resource palette : ...................................................................5
Create mds (meta data store ) connection in resource palette :..............................................7
Project on runtime faults:..........................................................................................................9
Topper student project with fault handling (remote fault):......................................................10
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2
Fault Handling in a BPEL process
Q) What is fault handling in BPEL process ?
A) Fault handling allows a BPEL process to handle error messages or exceptions retuned by
outside web services & to generate error messages in response to business or runtime faults.
Business faults:
•Business faults are application -specific faults that are generated within the BPEL process
•These are also called custom faults
•Manufactured by developer
•<catch faultName="ns1:faultName" faultVariable="varName">
Runtime faults:
Runtime faults are the result of problems within the running of the BPEL process
service component or web service .These faults are not user-defined, and are thrown by the
system .
•Binding fault: When server is up & Service is down then this fault is known as binding fault.
•Remote fault: When third party service is down or invocation failed then this fault is known
as remote fault .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 3
Selection failure: Wrong X-Path expression results selection
failure fault .
NOTE : Before going through forward we have to create oracle mds (meta data store) &
database in resource palette & under IDE connections which is located in left pane or (ctrl
+shift+o) .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 4
Create database connection in resource palette :
STEP 1: Use ctrl+shift+o to view Resource Palette on left pane as shown below :
STEP 2: Click on new icon ---> New Connection ----> Database
STEP 3: Edit Database Connection , Fill all required blanks fields as it is filled
in picture shown below
Put radio button on IDE Connections
Connection Name: dev_mds
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 5
Connection type : Oracle(JDBC)
Username : dev_mds (as on choice)
Password : welcome1 (as on choice)
click on save password
Driver : thin
Host Name: localhost
JDBC Port : 1521
SID : XE
STEP 4: Click ---> Test Connection & then click OK.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 6
Now successfully Database connection is created in resource palette.
Create mds (meta data store ) connection in resource palette :
STEP 1: Use ctrl+shift+o to view Resource Palette on left pane
STEP 2: Click on new icon ---> New Connection ----> SOA-MDS
STEP 3: Edit SOA-MDS Connection , Fill all required blanks fields as it is filled
in picture shown below
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 7
 Connection Name : dev mds conn
 Connect String : jdbc:oracle:thin:@localhost:1521:XE
 Username : DEV_MDS
 Username : DEV_MDS
 Select MDS partition : soa-infra
STEP 4: Click ---> Test Connection & then click OK.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8
STEP 5: Now right click icon & select refresh .
Expand IDE connection under Resource Palette & observe that u have successfully created
SOA-MDS .
NOTE : Now as it is a meta data store & so it contains all deployed composites under
dev_mds_conn as shown below .
Project on runtime faults:
Summary :" Runtime faults are the result of problems within the running of the BPEL process
service component or web service & when third party service is down or invocation failed then
fault is known as remote fault .
So in TopperStudentProject TopperStudentService calling third party web service
ProcessStudentService so that this service done all processing & return response to calling
service so for this on shutting down the ProcessStudent composite inside enterprise manager
then it will be unable to reply response & hence calling service i.e TopperStudentService will
error out Remote fault , so our aim is to handle or catch this remote fault or run time fault
through catch activity & reply this fault to the client or consumer of TopperStudentService
also invoke a new third party service i.e StudentFLHService for sending this fault by email
notification to the admin".
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 9
Topper student project with fault handling (remote fault):
Step1: Deploy project by clicking TopperStudentProject.
Deployment Finished.
Note: Before Deployment Start Weblogic Admin Server as discussed in my previous document
Oracle Soa Part IV Doc.
Step 2 : Click on Browser icon shown below:
Step 3: Start your enterprise manager by writing url http: //localhost:7001/em/
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 10
Note : Here localhost is application server & 7001 is a port in which enterprise manager is
running.
Step 4 : Login using credentials
User Name :weblogic
Password : welcome1
click on login
Step 5: We have successfully login inside Enterprise manager 11g (Farm_dev_soa)
we can clearly observe here that admin server is up & all deployment status is also up it means
that our admin server is running .
Now In left pane of window under Farm_dev_soa click on SOA radio button now again expand
& under default we can easily see all the deployed projects.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 11
Now observe here that status of all composites are up here .
Step 6: Click twice on ProcessStudent on left pane of window.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 12
Step 7: Shut down the composite ProcessStudent & see the confirmation on screen as shown
below:
Step 8: Observe red Arrow pointing down ward means that this composite is shutdown
& also see confirmation below red arrow .
Step 9: Click on Test tab shown below
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 13
Step 10: Provide Count number & fill all empty required fields
Step 11: Observe carefully that no field left empty
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14
Step 12: Click on Test Web Service
And get Response shown below:
Step 13: Observe Web service invocation failed warning it means remote fault because third
party service is unable to provide service as process student composite is shut down
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 15
Step 14: double click on TopperStudentProject & see that the first instance is created but & its
instance state is completed but faulted & that's why we are unable to get response
since system is faulted & hence there are error messages shown below & click on instance
shown in green box.
Step 15: On clicking instance we come on Fault Trace Window observe here there are four
Faults & all type of instances state are faulted .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16
Step 16: Click on Flow & see the flow diagram & notice that the invoke process is faulted here
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 17
Step 17: Click on Faults & see remote fault Error Message .
So till here we have seen that since ProcessStudent status is down we find error messages as
remote fault & unable to get topper as response .
So from here idea of Fault handling arises i.e how to handle such faults & notify these faults to
admin so that he can agai start the process student composite or up the down server .
Step 18: Create Error.xsd under ProcessStudent /xsd .
•design first Error Elementthen complex type error & elements of complex type of error is
shown below
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 18
Step : 19: Make Error element as Errortype.
Step 20: Observe Error.xsd in design mode
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 19
Step 21: Since Error xsd is created then open ProcessStudentPhysical location & click xsd
folder
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 20
Step 22: Copy Error.xsd file from ProcessStudent & paste inside physical location of
TopperStudentProject--->xsd folder
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 21
Step 23: Click on refresh & see that we have successfully imported the error .xsd inside
TopperStudentProject .
Step 24: Open StudentList.xsd in design mode & right click on target namespace & click on
import
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 22
Step 25: Now Click on source mode
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 23
Step 26: Write namespace & schema location of the imported error xsd as shown below:
Step 27:
Register Error xsd namespace inside xsd schema with its prefix "errobj "
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 24
Step 28: Click on design mode & see that importing error xsd in StudentList.xsd is complete .
Step 29: Now design two elements inside StudentListResultType & rename first as FaultData .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 25
Step 30:Click on source mode & edit element1
Edit as shown below in red box , here we are referring Error xsd
<xsd:element ref="errobj:Error"/>
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 26
Step 31: Click on design mode & see referenced error element
Step 32: Expand Error & observe all sub elements
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 27
Step 33:Now see complete StudentList xsd in design mode in which TopperStudentResponse
contains FaultData
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 28
Step 34: Open TopperStudentProcess.bpel & click on catch activity to catch remote faults
Step 35: Right Click on Catch Activity & click Edit
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 29
Step 36: Click on Browse to select System faults
Step 37: Select remote Fault & click Ok
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 30
Step 38: Click Ok
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 31
Step 39 : Drag & drop Reply Activity & click twice on it as shown below:
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 32
Step 40: Edit Reply as shown below :
Name: ReplyFaultOutput
Interaction Type : Partner Link
Partner Link : TopperStudentService (Browse)
Operation: process
Variable :OutputVariable (create by clicking on + sign)
Click Ok
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 33
Step 41: Drag & drop Assign Activity & Rename It as AssignFaultOutput
& then Click it twice :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 34
Step 42: To assign fault output click on expression Drag it Drop it on faultCode as shown
below
Step 43: Write Expression i.e fault code as 'FMW-0001'
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 35
Step 44: Similarly severity as 1
Step 45: Select Date Functions & under it select current-date-Time then insert into
Expression
then click ok
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 36
Step 46: For Detail click Advanced functions ----> getFaultAs string then
insert into Expression
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 37
Step 47: For CompositeName click Advanced functions ----> getCompositeName then
insert into Expression
Step 48: For ComponentName click Advanced functions ----> getComponentName then
insert into Expression
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 38
Step 49: For CompositeInstanceId click Advanced functions ----> getCompositeInstanceId then
insert into Expression
Step 50: Observe all assigned values
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 39
Step 51 : Assign TopperStudentRequest to RequestPayload since both
are of anonymous type.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 40
Step 52 : Click on compile icon to compile the bpel process
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 41
Step 53: Deploy project by clicking TopperStudentProject.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 42
Deployment Finished.
Note: Before Deployment Start Weblogic Admin Server as discussed in my previous document
Oracle Soa Part IV Doc.
Step 54 : Click on Browser icon shown below:
Step 55: Start your enterprise manager by writing url http: //localhost:7001/em/
Note : Here localhost is application server & 7001 is a port in which enterprise manager is
running.
Step 56 : Login using credentials
User Name :weblogic
Password : welcome1
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 43
click on login
Step 57: We have successfully login inside Enterprise manager 11g (Farm_dev_soa)
we can clearly observe here that admin server is up & all deployment status is also up it means
that our admin server is running .
Now In left pane of window under Farm_dev_soa click on SOA radio button now again expand
& under default we can easily see all the deployed projects.
Click twice on TopperStudentProject .
Step 58: Click on TEST & create instance
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 44
Step 59: Input Student array size =2
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 45
Step 60: Scroll down page & Provide required input of a students
Step 61: Click on Test Web Service
And get Response shown below:
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 46
Step 62: Explore topper student & find all blank spaces due to fault so explore FaultData
Step 63: Now we can see that catch activity catch the fault & replied to the client as
Faultdata Response .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 47
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 48
Step 64 : Now Logout enterprise manager & stop weblogic admin server .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 49

More Related Content

What's hot

Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User ManualOrangescrum
 
Orangescrum Client management Add on User Manual
Orangescrum Client management Add on User ManualOrangescrum Client management Add on User Manual
Orangescrum Client management Add on User ManualOrangescrum
 
Getting started-with-oracle-so a-10
Getting started-with-oracle-so a-10Getting started-with-oracle-so a-10
Getting started-with-oracle-so a-10Amit Sharma
 
Orangescrum Task status Group add on user manual
Orangescrum Task status Group add on user manualOrangescrum Task status Group add on user manual
Orangescrum Task status Group add on user manualOrangescrum
 
Orangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User ManualOrangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User ManualOrangescrum
 
Getting started-with-oracle-so a lab#12
Getting started-with-oracle-so a lab#12Getting started-with-oracle-so a lab#12
Getting started-with-oracle-so a lab#12Amit Sharma
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum
 
Supplement2d netbeans6
Supplement2d netbeans6Supplement2d netbeans6
Supplement2d netbeans6olveraadrian82
 
Orangescrum Mobile API Add on User Manual
Orangescrum Mobile API Add on User ManualOrangescrum Mobile API Add on User Manual
Orangescrum Mobile API Add on User ManualOrangescrum
 
Paladin Troubleshooting Guide
Paladin Troubleshooting GuidePaladin Troubleshooting Guide
Paladin Troubleshooting Guidehanniw79
 
Secure mvc application saineshwar
Secure mvc application   saineshwarSecure mvc application   saineshwar
Secure mvc application saineshwarSaineshwar bageri
 
Visual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app developmentVisual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app developmentMicrosoft Tech Community
 
1 z0 062 - oracle certification
1 z0 062 - oracle certification1 z0 062 - oracle certification
1 z0 062 - oracle certificationadam_jhon
 

What's hot (15)

Time Log with Payment Add on User Manual
Time Log with Payment Add on User ManualTime Log with Payment Add on User Manual
Time Log with Payment Add on User Manual
 
Orangescrum Client management Add on User Manual
Orangescrum Client management Add on User ManualOrangescrum Client management Add on User Manual
Orangescrum Client management Add on User Manual
 
Oracle EMC 12C Grand Tour
Oracle EMC 12C Grand TourOracle EMC 12C Grand Tour
Oracle EMC 12C Grand Tour
 
Getting started-with-oracle-so a-10
Getting started-with-oracle-so a-10Getting started-with-oracle-so a-10
Getting started-with-oracle-so a-10
 
Orangescrum Task status Group add on user manual
Orangescrum Task status Group add on user manualOrangescrum Task status Group add on user manual
Orangescrum Task status Group add on user manual
 
Orangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User ManualOrangescrum Time Log Add-on User Manual
Orangescrum Time Log Add-on User Manual
 
Getting started-with-oracle-so a lab#12
Getting started-with-oracle-so a lab#12Getting started-with-oracle-so a lab#12
Getting started-with-oracle-so a lab#12
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
 
C# with Renas
C# with RenasC# with Renas
C# with Renas
 
Supplement2d netbeans6
Supplement2d netbeans6Supplement2d netbeans6
Supplement2d netbeans6
 
Orangescrum Mobile API Add on User Manual
Orangescrum Mobile API Add on User ManualOrangescrum Mobile API Add on User Manual
Orangescrum Mobile API Add on User Manual
 
Paladin Troubleshooting Guide
Paladin Troubleshooting GuidePaladin Troubleshooting Guide
Paladin Troubleshooting Guide
 
Secure mvc application saineshwar
Secure mvc application   saineshwarSecure mvc application   saineshwar
Secure mvc application saineshwar
 
Visual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app developmentVisual Studio and Xamarin: The future of app development
Visual Studio and Xamarin: The future of app development
 
1 z0 062 - oracle certification
1 z0 062 - oracle certification1 z0 062 - oracle certification
1 z0 062 - oracle certification
 

Viewers also liked

2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShareSlideShare
 
What to Upload to SlideShare
What to Upload to SlideShareWhat to Upload to SlideShare
What to Upload to SlideShareSlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShareSlideShare
 

Viewers also liked (6)

Osb student guide
Osb student guideOsb student guide
Osb student guide
 
Oracle OSB Tutorial 2
Oracle OSB Tutorial 2Oracle OSB Tutorial 2
Oracle OSB Tutorial 2
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare2015 Upload Campaigns Calendar - SlideShare
2015 Upload Campaigns Calendar - SlideShare
 
What to Upload to SlideShare
What to Upload to SlideShareWhat to Upload to SlideShare
What to Upload to SlideShare
 
Getting Started With SlideShare
Getting Started With SlideShareGetting Started With SlideShare
Getting Started With SlideShare
 

Similar to Soa8

Getting started-with-oracle-so a-9
Getting started-with-oracle-so a-9Getting started-with-oracle-so a-9
Getting started-with-oracle-so a-9Amit Sharma
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivAmit Sharma
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivAmit Sharma
 
Getting started-with-oracle-so a- lab 11
Getting started-with-oracle-so a- lab 11Getting started-with-oracle-so a- lab 11
Getting started-with-oracle-so a- lab 11Amit Sharma
 
Getting started-with-oracle-so a-v
Getting started-with-oracle-so a-vGetting started-with-oracle-so a-v
Getting started-with-oracle-so a-vAmit Sharma
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-docAmit Sharma
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformationsSunil Pandey
 
Developing RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdfDeveloping RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdfsheriframadan18
 
Getting started-with-oracle-so a-vii
Getting started-with-oracle-so a-viiGetting started-with-oracle-so a-vii
Getting started-with-oracle-so a-viiAmit Sharma
 
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationAWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationServerless User Group Poland
 
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,..."Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...LCloud
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Leila Morteza
 
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letter
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letterDoorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letter
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letterDarrel Rader
 
Case study blocked queues
Case study blocked queuesCase study blocked queues
Case study blocked queueswalldorf_share
 
DevOps - Continuous Integration, Continuous Delivery - let's talk
DevOps - Continuous Integration, Continuous Delivery - let's talkDevOps - Continuous Integration, Continuous Delivery - let's talk
DevOps - Continuous Integration, Continuous Delivery - let's talkD Z
 

Similar to Soa8 (20)

Getting started-with-oracle-so a-9
Getting started-with-oracle-so a-9Getting started-with-oracle-so a-9
Getting started-with-oracle-so a-9
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
 
Getting started-with-oracle-so a-iv
Getting started-with-oracle-so a-ivGetting started-with-oracle-so a-iv
Getting started-with-oracle-so a-iv
 
Getting started-with-oracle-so a- lab 11
Getting started-with-oracle-so a- lab 11Getting started-with-oracle-so a- lab 11
Getting started-with-oracle-so a- lab 11
 
Getting started-with-oracle-so a-v
Getting started-with-oracle-so a-vGetting started-with-oracle-so a-v
Getting started-with-oracle-so a-v
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-doc
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformations
 
Developing RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdfDeveloping RIA Web Applications with Oracle ADF.pdf
Developing RIA Web Applications with Oracle ADF.pdf
 
Getting started-with-oracle-so a-vii
Getting started-with-oracle-so a-viiGetting started-with-oracle-so a-vii
Getting started-with-oracle-so a-vii
 
Bdd Show and Tell
Bdd Show and TellBdd Show and Tell
Bdd Show and Tell
 
SugarMob Pro
SugarMob ProSugarMob Pro
SugarMob Pro
 
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentationAWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
AWS UG Warsaw & Serverless warsztatowo! 19.09.2019 | Hillel Solow's presentation
 
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,..."Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
"Don’t Run with Scissors: Serverless Security Survival Guide" | Hillel Solow,...
 
Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)Lsmw (Legacy System Migration Workbench)
Lsmw (Legacy System Migration Workbench)
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letter
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letterDoorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letter
Doorsng po t_core_workbook_sse_imagev3.3.1_v6moda_final_letter
 
Demonstrating caf.doc
Demonstrating caf.docDemonstrating caf.doc
Demonstrating caf.doc
 
Case study blocked queues
Case study blocked queuesCase study blocked queues
Case study blocked queues
 
Solace Integration with Mulesoft
Solace Integration with MulesoftSolace Integration with Mulesoft
Solace Integration with Mulesoft
 
DevOps - Continuous Integration, Continuous Delivery - let's talk
DevOps - Continuous Integration, Continuous Delivery - let's talkDevOps - Continuous Integration, Continuous Delivery - let's talk
DevOps - Continuous Integration, Continuous Delivery - let's talk
 

Recently uploaded

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 

Recently uploaded (20)

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 

Soa8

  • 1. Getting Started with Oracle SoA Oracle SOA Fault Handling in BPEL Process Lab#8 Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginner’s Guide for Oracle SoA. The document focuses on Fault Handling in a BPEL process. Join our professional training program and learn from experts. History: Version Description Change Author Publish Date 0.1 Initial Draft Shiva Kant Pandey 21st Nov 2012 0.1 Review#1 Amit Sharma 29th Nov 2012 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1
  • 2. Contents .................................................................................................................................................... 2 Contents....................................................................................................................................... 2 Q) What is fault handling in BPEL process ?..............................................................................3 Business faults: ........................................................................................................................3 Runtime faults: .........................................................................................................................3 Selection failure: Wrong X-Path expression results selection failure fault ...............................4 Create database connection in resource palette : ...................................................................5 Create mds (meta data store ) connection in resource palette :..............................................7 Project on runtime faults:..........................................................................................................9 Topper student project with fault handling (remote fault):......................................................10 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2
  • 3. Fault Handling in a BPEL process Q) What is fault handling in BPEL process ? A) Fault handling allows a BPEL process to handle error messages or exceptions retuned by outside web services & to generate error messages in response to business or runtime faults. Business faults: •Business faults are application -specific faults that are generated within the BPEL process •These are also called custom faults •Manufactured by developer •<catch faultName="ns1:faultName" faultVariable="varName"> Runtime faults: Runtime faults are the result of problems within the running of the BPEL process service component or web service .These faults are not user-defined, and are thrown by the system . •Binding fault: When server is up & Service is down then this fault is known as binding fault. •Remote fault: When third party service is down or invocation failed then this fault is known as remote fault . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 3
  • 4. Selection failure: Wrong X-Path expression results selection failure fault . NOTE : Before going through forward we have to create oracle mds (meta data store) & database in resource palette & under IDE connections which is located in left pane or (ctrl +shift+o) . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 4
  • 5. Create database connection in resource palette : STEP 1: Use ctrl+shift+o to view Resource Palette on left pane as shown below : STEP 2: Click on new icon ---> New Connection ----> Database STEP 3: Edit Database Connection , Fill all required blanks fields as it is filled in picture shown below Put radio button on IDE Connections Connection Name: dev_mds www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 5
  • 6. Connection type : Oracle(JDBC) Username : dev_mds (as on choice) Password : welcome1 (as on choice) click on save password Driver : thin Host Name: localhost JDBC Port : 1521 SID : XE STEP 4: Click ---> Test Connection & then click OK. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 6
  • 7. Now successfully Database connection is created in resource palette. Create mds (meta data store ) connection in resource palette : STEP 1: Use ctrl+shift+o to view Resource Palette on left pane STEP 2: Click on new icon ---> New Connection ----> SOA-MDS STEP 3: Edit SOA-MDS Connection , Fill all required blanks fields as it is filled in picture shown below www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 7
  • 8.  Connection Name : dev mds conn  Connect String : jdbc:oracle:thin:@localhost:1521:XE  Username : DEV_MDS  Username : DEV_MDS  Select MDS partition : soa-infra STEP 4: Click ---> Test Connection & then click OK. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8
  • 9. STEP 5: Now right click icon & select refresh . Expand IDE connection under Resource Palette & observe that u have successfully created SOA-MDS . NOTE : Now as it is a meta data store & so it contains all deployed composites under dev_mds_conn as shown below . Project on runtime faults: Summary :" Runtime faults are the result of problems within the running of the BPEL process service component or web service & when third party service is down or invocation failed then fault is known as remote fault . So in TopperStudentProject TopperStudentService calling third party web service ProcessStudentService so that this service done all processing & return response to calling service so for this on shutting down the ProcessStudent composite inside enterprise manager then it will be unable to reply response & hence calling service i.e TopperStudentService will error out Remote fault , so our aim is to handle or catch this remote fault or run time fault through catch activity & reply this fault to the client or consumer of TopperStudentService also invoke a new third party service i.e StudentFLHService for sending this fault by email notification to the admin". www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 9
  • 10. Topper student project with fault handling (remote fault): Step1: Deploy project by clicking TopperStudentProject. Deployment Finished. Note: Before Deployment Start Weblogic Admin Server as discussed in my previous document Oracle Soa Part IV Doc. Step 2 : Click on Browser icon shown below: Step 3: Start your enterprise manager by writing url http: //localhost:7001/em/ www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 10
  • 11. Note : Here localhost is application server & 7001 is a port in which enterprise manager is running. Step 4 : Login using credentials User Name :weblogic Password : welcome1 click on login Step 5: We have successfully login inside Enterprise manager 11g (Farm_dev_soa) we can clearly observe here that admin server is up & all deployment status is also up it means that our admin server is running . Now In left pane of window under Farm_dev_soa click on SOA radio button now again expand & under default we can easily see all the deployed projects. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 11
  • 12. Now observe here that status of all composites are up here . Step 6: Click twice on ProcessStudent on left pane of window. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 12
  • 13. Step 7: Shut down the composite ProcessStudent & see the confirmation on screen as shown below: Step 8: Observe red Arrow pointing down ward means that this composite is shutdown & also see confirmation below red arrow . Step 9: Click on Test tab shown below www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 13
  • 14. Step 10: Provide Count number & fill all empty required fields Step 11: Observe carefully that no field left empty www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14
  • 15. Step 12: Click on Test Web Service And get Response shown below: Step 13: Observe Web service invocation failed warning it means remote fault because third party service is unable to provide service as process student composite is shut down www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 15
  • 16. Step 14: double click on TopperStudentProject & see that the first instance is created but & its instance state is completed but faulted & that's why we are unable to get response since system is faulted & hence there are error messages shown below & click on instance shown in green box. Step 15: On clicking instance we come on Fault Trace Window observe here there are four Faults & all type of instances state are faulted . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16
  • 17. Step 16: Click on Flow & see the flow diagram & notice that the invoke process is faulted here www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 17
  • 18. Step 17: Click on Faults & see remote fault Error Message . So till here we have seen that since ProcessStudent status is down we find error messages as remote fault & unable to get topper as response . So from here idea of Fault handling arises i.e how to handle such faults & notify these faults to admin so that he can agai start the process student composite or up the down server . Step 18: Create Error.xsd under ProcessStudent /xsd . •design first Error Elementthen complex type error & elements of complex type of error is shown below www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 18
  • 19. Step : 19: Make Error element as Errortype. Step 20: Observe Error.xsd in design mode www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 19
  • 20. Step 21: Since Error xsd is created then open ProcessStudentPhysical location & click xsd folder www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 20
  • 21. Step 22: Copy Error.xsd file from ProcessStudent & paste inside physical location of TopperStudentProject--->xsd folder www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 21
  • 22. Step 23: Click on refresh & see that we have successfully imported the error .xsd inside TopperStudentProject . Step 24: Open StudentList.xsd in design mode & right click on target namespace & click on import www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 22
  • 23. Step 25: Now Click on source mode www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 23
  • 24. Step 26: Write namespace & schema location of the imported error xsd as shown below: Step 27: Register Error xsd namespace inside xsd schema with its prefix "errobj " www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 24
  • 25. Step 28: Click on design mode & see that importing error xsd in StudentList.xsd is complete . Step 29: Now design two elements inside StudentListResultType & rename first as FaultData . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 25
  • 26. Step 30:Click on source mode & edit element1 Edit as shown below in red box , here we are referring Error xsd <xsd:element ref="errobj:Error"/> www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 26
  • 27. Step 31: Click on design mode & see referenced error element Step 32: Expand Error & observe all sub elements www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 27
  • 28. Step 33:Now see complete StudentList xsd in design mode in which TopperStudentResponse contains FaultData www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 28
  • 29. Step 34: Open TopperStudentProcess.bpel & click on catch activity to catch remote faults Step 35: Right Click on Catch Activity & click Edit www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 29
  • 30. Step 36: Click on Browse to select System faults Step 37: Select remote Fault & click Ok www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 30
  • 31. Step 38: Click Ok www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 31
  • 32. Step 39 : Drag & drop Reply Activity & click twice on it as shown below: www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 32
  • 33. Step 40: Edit Reply as shown below : Name: ReplyFaultOutput Interaction Type : Partner Link Partner Link : TopperStudentService (Browse) Operation: process Variable :OutputVariable (create by clicking on + sign) Click Ok www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 33
  • 34. Step 41: Drag & drop Assign Activity & Rename It as AssignFaultOutput & then Click it twice : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 34
  • 35. Step 42: To assign fault output click on expression Drag it Drop it on faultCode as shown below Step 43: Write Expression i.e fault code as 'FMW-0001' www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 35
  • 36. Step 44: Similarly severity as 1 Step 45: Select Date Functions & under it select current-date-Time then insert into Expression then click ok www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 36
  • 37. Step 46: For Detail click Advanced functions ----> getFaultAs string then insert into Expression www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 37
  • 38. Step 47: For CompositeName click Advanced functions ----> getCompositeName then insert into Expression Step 48: For ComponentName click Advanced functions ----> getComponentName then insert into Expression www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 38
  • 39. Step 49: For CompositeInstanceId click Advanced functions ----> getCompositeInstanceId then insert into Expression Step 50: Observe all assigned values www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 39
  • 40. Step 51 : Assign TopperStudentRequest to RequestPayload since both are of anonymous type. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 40
  • 41. Step 52 : Click on compile icon to compile the bpel process www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 41
  • 42. Step 53: Deploy project by clicking TopperStudentProject. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 42
  • 43. Deployment Finished. Note: Before Deployment Start Weblogic Admin Server as discussed in my previous document Oracle Soa Part IV Doc. Step 54 : Click on Browser icon shown below: Step 55: Start your enterprise manager by writing url http: //localhost:7001/em/ Note : Here localhost is application server & 7001 is a port in which enterprise manager is running. Step 56 : Login using credentials User Name :weblogic Password : welcome1 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 43
  • 44. click on login Step 57: We have successfully login inside Enterprise manager 11g (Farm_dev_soa) we can clearly observe here that admin server is up & all deployment status is also up it means that our admin server is running . Now In left pane of window under Farm_dev_soa click on SOA radio button now again expand & under default we can easily see all the deployed projects. Click twice on TopperStudentProject . Step 58: Click on TEST & create instance www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 44
  • 45. Step 59: Input Student array size =2 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 45
  • 46. Step 60: Scroll down page & Provide required input of a students Step 61: Click on Test Web Service And get Response shown below: www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 46
  • 47. Step 62: Explore topper student & find all blank spaces due to fault so explore FaultData Step 63: Now we can see that catch activity catch the fault & replied to the client as Faultdata Response . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 47
  • 49. Step 64 : Now Logout enterprise manager & stop weblogic admin server . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 49