You want to see a simple BPEL process to get an overview of how to create composite service orchestrations, without getting in too much detail.
If you deployed the Apache ODE Hello World example in the previous recipe, navigate to the $TOMCAT_HOME/webapps/ode/WEB-INF/processes/HelloWorld2 folder and open the HelloWorld2.bpel file with a text editor.
Here’s a quick overview of the sorts of things you can do with BPEL to give you an idea of the scope of the language:
Receive a client request message with
Invoke other web services within the composition using
Send a response back to invoking clients using
Copy data from part of one message or variable into another
Represent exceptions and handle them using
Implement conditional logic using
Perform a step in the process after a duration or on a certain
date and time using
There are a variety of other constructs to help you create robust workflows in BPEL, but these are the basic items that you’ll use most frequently.
In the last recipe, you deployed the Hello World example that ships with the Apache ODE BPEL engine. Let’s open the file to see that there really isn’t any magic to putting these puzzle pieces together.
Other than the standard Apache license, Example 9-1 shows the complete, portable HelloWorld2 process file.
What’s not portable across ...