Time for action – adding the BookOrderManagement process
Let us now implement the BookOrderManagement
process:
First, we will add the BPEL Process component to the assembly diagram:
Next, we will wire the
BookOrderManagementBPEL
process with theBookWarehousingBPEL
process:Next, we will define the corresponding XML schema for the
BookOrderManagementBPEL
process. Let's first have a quick look at theBookWarehousing
XML schema:In the
BookOrderManagementBPEL
process, we would like to use a very similar schema. The only difference would be that we would like to accept a list ofBookData
as an input parameter. Therefore, we will import theBookWarehousing
XML schema and add theminOccurs
andmaxOccurs
attributes to define the list (array):
For the process response, we will use a simple string
, through which we will communicate the status.
What just happened?
We have created the BookOrderManagementBPEL
process, wired it with the BookWarehousingBPEL
process, and created the schema elements for the...