We are now prepared to extend the BookWarehousingBPEL
process. The goal is to invoke the AnotherBookstoreBPEL
process in addition to the BookstoreABPEL
and BookstoreBBPEL
processes. We will do the following:
We will add a new
<flow>
branch for the invocation of theAnotherBookstoreBPEL
process, as shown in the following screenshot:Before we can invoke the
AnotherBookstoreBPEL
process, we need to declare two variables,AnotherBookstoreRequest
andAnotherBookstoreResponse
. They should be ofAnotherBookstoreRequestMessage
andAnotherBookstoreResponseMessage
message types, respectively.We will need to assign the values for the
AnotherBookstoreRequest
variable. For this, we will use the<assign>
activity, which we will drag-and-drop from the Components palette to the<flow>
branch. We will copy field-by-field the book ISSN, title, edition, and publishing year from theinputVariable
variable to the corresponding elements...