A submap enables you to use the same piece of mapping
function in multiple message
maps.
Complete the following steps to create a submap:
- Create a connection between global input and output elements
in a message map, and then select the Submap transform
on the connection: For
example:
- In the Properties view of the Submap transform, create
a submap to use an existing submap:
- To create a submap, click New. The New Message
Map wizard opens.
- Use an existing submap. Click Browse.
A dialogue box will display the submaps that are available. Then,
select a submap and click OK.
- On the Specify a new
message map file pane, the type of map that you want to
create is selected as Submap called by another map.
This is a message map that can be referenced from another message
map. This is known as a submap and can contain components of a message
body such as global elements and global types. A submap does not contain
Properties, message headers, or the local environment tree. Click Next.
- On the Select map inputs and outputs pane,
the input and output objects of the submap have been pre-selected.
- Click Finish. The
new submap is displayed in the Graphical
Data Mapping editor, and you can
edit it in the same way that you would edit any graphical data map. For information
about how to edit maps, see Editing message maps.
The new submap is displayed in the Graphical
Data Mapping editor.
Edit the submap. For more information, see Editing message maps.