Use the data map activity to transform data between two
business objects.
About this task
To transform data between two business objects use a data map. There are two types of data map supported: XML maps and Business object maps. In most instances XML maps are the preferred choice. However there
may be instances where you want to use a business object map. To add
and configure a new data map activity in a BPEL process, proceed as
follows:
Procedure
- In the business integration view, create two business objects.
To access the New Business Object wizard, click .
- Create a new BPEL process.
- In the BPEL process editor, create two new variables that
point to the two business objects defined in your project.
Note: For business object maps, simple types such as strings or integers
are not shown in the wizard since they cannot be mapped. XML maps
can map simple types and so this restriction does not apply to XML
maps and simple types are displayed in the wizard. This is one of
the advantages of using XML maps.
- Drop a Data map activity on the
canvas.
- Select either XML map or Business object map and click Next.
- In the New Data Map wizard, give the
new map a name and click Next.
- Select one of the variables as the Input and the other
one as the Output, and click Finish.
Results
The map editor launches, and you can use it to further configure
the created data map.