Time for action – creating the AnotherBookstoreBPEL process
Let's now develop the AnotherBookstoreBPEL
process. We have already created BPEL processes in Chapter 1, Hello BPEL, and Chapter 2, Service Invocation; therefore, we will briefly describe the steps:
To create the
AnotherBookstoreBPEL
process, we will add a new BPEL process on the composite. We will enter the XML namespace as shown in the following screenshot and select the Synchronous BPEL Process template:Next, we will create a new reference between the
BookWarehousing
process and theAnotherBookstore
process. To achieve this, we will drag the reference from theBookWarehousingBPEL
component to theAnotherBookstoreBPEL
component. You should see the following composite screenshot:We will modify the auto-generated schema for the process. Open the Schemas folder in the project tree and double-click on the
AnotherBookstoreBPEL.xsd
schema. Modify the schema content by declaring theBookData
andStockQuantity
elements, exactly as shown...