Database Reference
In-Depth Information
•
CatchAll
• Catches unnamed error conditions
• CatchAll enables us to catch errors even by not specifying
and/or knowing the name of the error
• It could be used if all the errors are handled the same way or
in combination of Catch, if some errors needs special hand-
ling, and if a subset of them are handled the same way
•
Throw
• Reports an internal fault
• Generates custom fault messages inside a business process
Synchronous versus asynchronous processes
To create BPEL, use either the
Synchronous BPEL Process
or
Asynchronous
BPEL Process
template from JDeveloper.
Tip
Another useful type of template available is the
One Way BPEL
process. One-
way messaging is a type of asynchronous process. Messages are sent from the
calling processes; however, no response is expected. It is a one-way call. The
Subscribe to Event
template can be used for subscribing to business events.
ThesynchronousBPELdefaulttemplatecontainstheinitial
Receive
activityandfinal
Reply
activity. We can add more activities between Receive and Reply based on the
business process and logic. A typical BPEL requires more activities to process the
business logic in addition to Receive and Reply activities.
Usually BPEL contains activities such as Assign for copying and manipulating the
XML content.
Usually synchronous BPEL processes wait for Reply until processing is complete
while the Asynchronous BPEL Process default template contains the initial Receive