Time for action – copying variable parts
Let's now copy the BookstoreBResponse
variable to the BookStoreWithLowestQuantity
variable. Because the BookstoreBResponse
variable is of a different message type than the BookStoreWithLowestQuantity
variable, we cannot copy variables directly.
However, both message variables use the same XML element, namely BookDataResponse
as payload
. Therefore, we can copy the payloads of both variables:
- Open the BookWarehousingBPEL.bpel window.
- Scroll to the
<if>
activity and locate the elseifBookstoreBLowerOrEqual branch. - Drag-and-drop the Assign activity from the right-hand side BPEL Constructs / Basic Activities toolbar and place it after the existing
AssignBookstoreB
assign. - Double-click on the assign activity and the ...
Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.