Developing the book warehousing process
To develop the book warehousing process, we will start with the JDeveloper project from the previous chapter. In this project, we already have two BPEL processes that return the stock quantity for Bookstore A and Bookstore B.
We will create a new BPEL process, called BookWarehousingBPEL
, simply by dragging-and-dropping the process to the SOA composite. As the BookWarehousingBPEL
process will invoke the BookstoreA
and BookstoreB
BPEL processes, we will need to connect the BookWarehousingBPEL
process with the other two processes. This way, we will create a partner link between them and will enable the service invocation. Connecting BPEL processes in JDeveloper is very easy as we only need to draw a wire between them.
In this example, we will use a synchronous BPEL, which we have become familiar with in Chapter 1, Hello BPEL. The synchronous request/response operation semantics is appropriate for this example. We will learn about asynchronous BPEL processes...