You can launch the XML map editor from the File menu, and
define mappings between input and output business objects. An XML
map that you create in this manner can reside in a module, mediation
module, or library.
About this task
Create an xml map from the file menu if you want to use it for a DataPower® appliance or if you want to use it as a submap within a Mapping primitive. To create an XML map:
Procedure
- From the main menu, select File > New > Data
map. Or, select a module or library in the Business
Integration view and right-click > New > Data Map.
- In the New Data Map wizard, select XML map and
click Next.
- Select the module or library where you want to store the
map. Enter a name for the map.
- Optional: Click Next.
- Click Add to select an input
business object from the list of available business objects, or New to
create a business object as input to the map.
- Click Add to select an output
business object from the list of available business objects, or New to
create a business object as output to the map.
- Click Finish.
The
XML map editor opens. If you selected the input and output business
objects when creating the map, you will see the input business object
on the left and the output business object on the right.
- If you created the map without specifying the input and
output business objects, add them now:
- Click the Add input object icon
in the toolbar
to add the input business
objects.
- Click the Add output object icon
in the toolbar
to add
the output business object.
- Click the input element in the input business object and
drag your mouse to the output business element.
A
default transform is added to the mapping, depending on the type of
input element.
- Optional: If you want to change the transform type, right-click
the transform, and select Change transform.
Select the required transform from the list of available transforms.
- Click the transform, and switch to the properties view
to set required properties.
What to do next
See the topic "Editing an XML map" in the related tasks for
more detailed information on how to use the XML map editor.