To demonstrate how we can use the XSLT transformation in our BookWarehousingBPEL
process, let's add it to the process:
Open the BookWarehousingBPEL.bpel window.
To add a transformation instead of the
<assign>
activity for preparing theAnotherBookstoreRequest
variable, we will first remove the<assign>
activity from the third flow branch. It is located just before the<invoke>
activity for theAnotherBookstoreBPEL
process.Instead, we will drag-and-drop the XSLT Transform activity to the process. We can find the XSLT Transform activity under the Oracle Extensions part of the toolbar. The XSLT Transform activity needs to be dropped just above the invoke activity, that is, the invoke activity that invokes the
AnotherBookstoreBPEL
partner link.After double-clicking on the XSLT Transform activity, an Edit Transform dialog will appear. The Source for the transformation will be
inputVariable
. The Target Variable will beAnotherBookstoreRequest...