Performing copy between the variables
In this recipe, we will show you the various ways of copying between the variables. For that purpose, we will use the XSLT mapper accessed through the transformation activity from JDeveloper.
Getting ready
Before we are able to copy the variables, we need to adapt the BPEL process to contain data suitable for the XSLT mapper. The problem is that the web service in our BPEL process is returning the field separated data; however, we need the XML-formatted data.
- Our first task is to transform the delimited data format to the XML format. For that purpose, we define a new schema with only one element definition and name it
TempSchema.xsd
.<xsd:element name = "TempElement"> <xsd:complexType> <xsd:sequence> <xsd:element ...
Get BPEL and Java Cookbook 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.