SlideShare a Scribd company logo
Getting Started with Oracle SoA
Fault Handing in BPEL Process Lab#7
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 various fault handling techniques in
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
Sep 2012
0.1 Review#1 Amit Sharma 29th
Sep 2012
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1
Contents
Contents....................................................................................................................................... 2
Fault Handling in BPEL Process ...................................................................................................3
BUSINESS FAULTS: ...................................................................................................................3
RUNTIME FAULTS : ....................................................................................................................3
Creating database connection in resource palette ..................................................................4
Create mds (meta data store ) connection in resource palette :..............................................6
Project on runtime faults:........................................................................................................10
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2
Fault Handling in BPEL Process
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) .
Creating 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
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 4
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 5
STEP 3: Edit Database Connection , Fill all required blanks fields as it is filled
in picture shown below
STEP 4: Click ---> Test Connection & then click OK.
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
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 6
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
STEP 4: Click ---> Test Connection & then click OK.
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 .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 9
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".
Step wise procedure of project on topper student project with fault handling (remote
fault):
Step1: Deploy project by clicking TopperStudentProject.
Deployment Finished.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 10
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/
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
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 11
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.
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:
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 13
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
Step 10: Provide Count number & fill all empty required fields
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14
Step 11: Observe carefully that no field left empty
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 rare unable to get response
since system is faulted & hence there are error messages shown below & click on instance
shown in green box.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16
Step 15: On clicking instance we come on Fault Trace Window observe here there are four
Faults & all type of instances state are faulted .
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 Element then 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 .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 22
Step 24: Open StudentList.xsd in design mode & right click on target namespace & click on
import
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
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
Step 34: Open TopperStudentProcess.bpel & click on catch activity to catch remote faults
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 28
Step 35: Right Click on Catch Activity & click Edit
Step 36: Click on Browse to select System faults
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 29
Step 37: Select remote Fault & click Ok
Step 38: Click Ok
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 30
Step 39 : Drag & drop Reply Activity & click twice on it as shown below:
Step 40: Edit Reply as shown below :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 31
Step 41: Drag & drop Assign Activity & Rename It as AssignFaultOutput
& then Click it twice :
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 32
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 33
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 34
Step 46: For Detail click Advanced functions ----> getFaultAs string then
insert into Expression
Step 47: For CompositeName click Advanced functions ----> getCompositenName then
insert into Expression
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 35
Step 48: For ComponentName click Advanced functions ----> getComponentName then
insert into Expression
Step 49: For CompositeInstanceId click Advanced functions ----> getCompositeInstanceId then
insert into Expression
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 36
Step 50: Observe all assigned values
Step 51 : Assign TopperStudentRequest to RequestPayload since both
are of anonymous type.
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 37
Step 52 : Click on compile icon to compile the bpel process
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 38
Step 53: 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 54 : Click on Browser icon shown below:
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 39
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
click on login
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 40
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 41
Step 59: Input Student array size =2
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 42
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 43
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 44
Step 64 : Now Logout enterprise manager & stop weblogic admin server .
www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 45

More Related Content

Viewers also liked

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
 
Smart view for-planning-part-ii
Smart view for-planning-part-iiSmart view for-planning-part-ii
Smart view for-planning-part-iiAmit Sharma
 
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
 
Getting started-with-oracle-so a-vi
Getting started-with-oracle-so a-viGetting started-with-oracle-so a-vi
Getting started-with-oracle-so a-viAmit 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-iii
Getting started-with-oracle-so a-iiiGetting started-with-oracle-so a-iii
Getting started-with-oracle-so a-iiiAmit Sharma
 
Getting started-with-oracle-so a-ii
Getting started-with-oracle-so a-iiGetting started-with-oracle-so a-ii
Getting started-with-oracle-so a-iiAmit Sharma
 
Getting started-with-oracle-so a-i
Getting started-with-oracle-so a-iGetting started-with-oracle-so a-i
Getting started-with-oracle-so a-iAmit Sharma
 
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
 
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
 

Viewers also liked (10)

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
 
Smart view for-planning-part-ii
Smart view for-planning-part-iiSmart view for-planning-part-ii
Smart view for-planning-part-ii
 
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
 
Getting started-with-oracle-so a-vi
Getting started-with-oracle-so a-viGetting started-with-oracle-so a-vi
Getting started-with-oracle-so a-vi
 
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-iii
Getting started-with-oracle-so a-iiiGetting started-with-oracle-so a-iii
Getting started-with-oracle-so a-iii
 
Getting started-with-oracle-so a-ii
Getting started-with-oracle-so a-iiGetting started-with-oracle-so a-ii
Getting started-with-oracle-so a-ii
 
Getting started-with-oracle-so a-i
Getting started-with-oracle-so a-iGetting started-with-oracle-so a-i
Getting started-with-oracle-so a-i
 
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
 
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
 

Similar to Getting started-with-oracle-so a-viii

Soa8
Soa8Soa8
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
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
Rakesh Gujjarlapudi
 
Bdd Show and Tell
Bdd Show and TellBdd Show and Tell
Bdd Show and Tell
David Harrison
 
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
sheriframadan18
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universitylhkslkdh89009
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2Amit Sharma
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universitylhkslkdh89009
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3Amit Sharma
 
Android howto hellowidget
Android howto hellowidgetAndroid howto hellowidget
Android howto hellowidgetHiron Das
 
Error boundaries
Error boundariesError boundaries
Error boundaries
Ducat
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
Ace Web Academy -Career Development Center
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
arfa442827
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation iiAmit Sharma
 
C# .net Interfacing with embedded system
C# .net  Interfacing with embedded system C# .net  Interfacing with embedded system
C# .net Interfacing with embedded system
Raghav Shetty
 
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
Banking at Ho Chi Minh city
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-docAmit Sharma
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
nitin2517
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation iAmit Sharma
 

Similar to Getting started-with-oracle-so a-viii (20)

Soa8
Soa8Soa8
Soa8
 
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
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
Bdd Show and Tell
Bdd Show and TellBdd Show and Tell
Bdd Show and Tell
 
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
 
Cis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry universityCis407 a ilab 3 web application development devry university
Cis407 a ilab 3 web application development devry university
 
Oracle apex hands on lab#2
Oracle apex hands on lab#2Oracle apex hands on lab#2
Oracle apex hands on lab#2
 
Cis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry universityCis407 a ilab 5 web application development devry university
Cis407 a ilab 5 web application development devry university
 
Sales force class-3
Sales force class-3Sales force class-3
Sales force class-3
 
Android how to hellowidget
Android how to hellowidgetAndroid how to hellowidget
Android how to hellowidget
 
Android howto hellowidget
Android howto hellowidgetAndroid howto hellowidget
Android howto hellowidget
 
Error boundaries
Error boundariesError boundaries
Error boundaries
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
 
C# .net Interfacing with embedded system
C# .net  Interfacing with embedded system C# .net  Interfacing with embedded system
C# .net Interfacing with embedded system
 
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
IBM MobileFirst Platform v7.0 POT Offers Lab v1.0
 
Xml transformation-doc
Xml transformation-docXml transformation-doc
Xml transformation-doc
 
How to develop a gateway service using code based implementation
How to develop a gateway service using code based implementationHow to develop a gateway service using code based implementation
How to develop a gateway service using code based implementation
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 

More from Amit Sharma

Oracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptionsOracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptions
Amit Sharma
 
Oracle EPBCS Driver
Oracle EPBCS Driver Oracle EPBCS Driver
Oracle EPBCS Driver
Amit Sharma
 
Oracle Sales Quotation Planning
Oracle Sales Quotation PlanningOracle Sales Quotation Planning
Oracle Sales Quotation Planning
Amit Sharma
 
Oracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp convertedOracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp converted
Amit Sharma
 
Basics of fdmee
Basics of fdmeeBasics of fdmee
Basics of fdmee
Amit Sharma
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
Amit Sharma
 
Oracle PBCS creating standard application
Oracle PBCS creating  standard applicationOracle PBCS creating  standard application
Oracle PBCS creating standard application
Amit Sharma
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidation
Amit Sharma
 
Hfm calculating RoA
Hfm calculating RoAHfm calculating RoA
Hfm calculating RoA
Amit Sharma
 
Adding metadata using smartview
Adding metadata using smartviewAdding metadata using smartview
Adding metadata using smartview
Amit Sharma
 
Hyperion planning weekly distribution
Hyperion planning weekly distributionHyperion planning weekly distribution
Hyperion planning weekly distribution
Amit Sharma
 
Hyperion planning scheduling data import
Hyperion planning scheduling data importHyperion planning scheduling data import
Hyperion planning scheduling data import
Amit Sharma
 
Hyperion planning new features
Hyperion planning new featuresHyperion planning new features
Hyperion planning new features
Amit Sharma
 
Microsoft dynamics crm videos
Microsoft dynamics crm videosMicrosoft dynamics crm videos
Microsoft dynamics crm videos
Amit Sharma
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Amit Sharma
 
Security and-data-access-document
Security and-data-access-documentSecurity and-data-access-document
Security and-data-access-documentAmit Sharma
 
Sales force managing-data
Sales force managing-dataSales force managing-data
Sales force managing-dataAmit Sharma
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Amit Sharma
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-iiAmit Sharma
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-labAmit Sharma
 

More from Amit Sharma (20)

Oracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptionsOracle enteprise pbcs drivers and assumptions
Oracle enteprise pbcs drivers and assumptions
 
Oracle EPBCS Driver
Oracle EPBCS Driver Oracle EPBCS Driver
Oracle EPBCS Driver
 
Oracle Sales Quotation Planning
Oracle Sales Quotation PlanningOracle Sales Quotation Planning
Oracle Sales Quotation Planning
 
Oracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp convertedOracle strategic workforce planning cloud hcmswp converted
Oracle strategic workforce planning cloud hcmswp converted
 
Basics of fdmee
Basics of fdmeeBasics of fdmee
Basics of fdmee
 
FDMEE script examples
FDMEE script examplesFDMEE script examples
FDMEE script examples
 
Oracle PBCS creating standard application
Oracle PBCS creating  standard applicationOracle PBCS creating  standard application
Oracle PBCS creating standard application
 
Hfm rule custom consolidation
Hfm rule custom consolidationHfm rule custom consolidation
Hfm rule custom consolidation
 
Hfm calculating RoA
Hfm calculating RoAHfm calculating RoA
Hfm calculating RoA
 
Adding metadata using smartview
Adding metadata using smartviewAdding metadata using smartview
Adding metadata using smartview
 
Hyperion planning weekly distribution
Hyperion planning weekly distributionHyperion planning weekly distribution
Hyperion planning weekly distribution
 
Hyperion planning scheduling data import
Hyperion planning scheduling data importHyperion planning scheduling data import
Hyperion planning scheduling data import
 
Hyperion planning new features
Hyperion planning new featuresHyperion planning new features
Hyperion planning new features
 
Microsoft dynamics crm videos
Microsoft dynamics crm videosMicrosoft dynamics crm videos
Microsoft dynamics crm videos
 
Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1Oracle apex-hands-on-guide lab#1
Oracle apex-hands-on-guide lab#1
 
Security and-data-access-document
Security and-data-access-documentSecurity and-data-access-document
Security and-data-access-document
 
Sales force managing-data
Sales force managing-dataSales force managing-data
Sales force managing-data
 
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
Salesforce interview-preparation-toolkit-formula-and-validation-rules-in-sale...
 
Sales force certification-lab-ii
Sales force certification-lab-iiSales force certification-lab-ii
Sales force certification-lab-ii
 
Sales force certification-lab
Sales force certification-labSales force certification-lab
Sales force certification-lab
 

Recently uploaded

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
ThomasParaiso2
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
Pierluigi Pugliese
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 

Recently uploaded (20)

The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...GridMate - End to end testing is a critical piece to ensure quality and avoid...
GridMate - End to end testing is a critical piece to ensure quality and avoid...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024By Design, not by Accident - Agile Venture Bolzano 2024
By Design, not by Accident - Agile Venture Bolzano 2024
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 

Getting started-with-oracle-so a-viii

  • 1. Getting Started with Oracle SoA Fault Handing in BPEL Process Lab#7 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 various fault handling techniques in 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 Sep 2012 0.1 Review#1 Amit Sharma 29th Sep 2012 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 1
  • 2. Contents Contents....................................................................................................................................... 2 Fault Handling in BPEL Process ...................................................................................................3 BUSINESS FAULTS: ...................................................................................................................3 RUNTIME FAULTS : ....................................................................................................................3 Creating database connection in resource palette ..................................................................4 Create mds (meta data store ) connection in resource palette :..............................................6 Project on runtime faults:........................................................................................................10 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 2
  • 3. Fault Handling in BPEL Process 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) . Creating 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 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 4
  • 6. STEP 3: Edit Database Connection , Fill all required blanks fields as it is filled in picture shown below STEP 4: Click ---> Test Connection & then click OK. 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 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 6
  • 7. 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. STEP 4: Click ---> Test Connection & then click OK. 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 . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 8
  • 10. 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". Step wise procedure of project on topper student project with fault handling (remote fault): Step1: Deploy project by clicking TopperStudentProject. Deployment Finished. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 10
  • 11. 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/ 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 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 11
  • 12. 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. 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: www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 13
  • 14. 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 Step 10: Provide Count number & fill all empty required fields www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 14
  • 15. Step 11: Observe carefully that no field left empty 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 rare unable to get response since system is faulted & hence there are error messages shown below & click on instance shown in green box. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 16
  • 17. Step 15: On clicking instance we come on Fault Trace Window observe here there are four Faults & all type of instances state are faulted . 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 Element then 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 . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 22
  • 23. Step 24: Open StudentList.xsd in design mode & right click on target namespace & click on import 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 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 Step 34: Open TopperStudentProcess.bpel & click on catch activity to catch remote faults www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 28
  • 29. Step 35: Right Click on Catch Activity & click Edit Step 36: Click on Browse to select System faults www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 29
  • 30. Step 37: Select remote Fault & click Ok Step 38: Click Ok www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 30
  • 31. Step 39 : Drag & drop Reply Activity & click twice on it as shown below: Step 40: Edit Reply as shown below : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 31
  • 32. Step 41: Drag & drop Assign Activity & Rename It as AssignFaultOutput & then Click it twice : www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 32
  • 33. 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 33
  • 34. 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 34
  • 35. Step 46: For Detail click Advanced functions ----> getFaultAs string then insert into Expression Step 47: For CompositeName click Advanced functions ----> getCompositenName then insert into Expression www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 35
  • 36. Step 48: For ComponentName click Advanced functions ----> getComponentName then insert into Expression Step 49: For CompositeInstanceId click Advanced functions ----> getCompositeInstanceId then insert into Expression www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 36
  • 37. Step 50: Observe all assigned values Step 51 : Assign TopperStudentRequest to RequestPayload since both are of anonymous type. www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 37
  • 38. Step 52 : Click on compile icon to compile the bpel process www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 38
  • 39. Step 53: 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 54 : Click on Browser icon shown below: www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 39
  • 40. 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 click on login www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 40
  • 41. 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 41
  • 42. Step 59: Input Student array size =2 www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 42
  • 43. 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 43
  • 44. 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 44
  • 45. Step 64 : Now Logout enterprise manager & stop weblogic admin server . www.bispsolutions.com www.bisptrainigs.com www.hyperionguru.com Page 45