Time for action – developing the book warehousing process
Let's start with the implementation of the BookWarehousingBPEL
process. We should follow these steps:
We will start with the XML schema definition. To do this, we need to double-click on the
BookWarehousingBPEL.xsd
file (in theSchemas
folder) and write the following schema, as shown:Now we can switch back to the BPEL tab (
BookWarehousingBPEL.bpel
). First, we will add an<assign>
activity to prepare a request for both the bookstore BPEL processes. In<assign>
, we will copy the wholeBookData
element frominputVariable
to a new variable, which we will create on the fly. We should do the following:Drag-and-drop
<assign>
to the BPEL process between the<receive>
and<reply>
activities.Double-click on the
<assign>
activity to open the dialog window.To hold and store the request for both bookstore BPEL processes, we need a new variable. Therefore, we will right-click on Variable and select the Create...