Customizing a message map to include the local environment tree
To customize your message map to include the local environment tree, you must add the local environment tree to the input message and to the output message, and then define transforms between them.
Before you begin
- Create a message map. For more information, see Creating a message map to transform SOAP messages.
- Define transformations between elements of the Properties folder. For more information, see Transforming elements in the Properties folder by using the Override function.
About this task
By default, when a message map is created, the only message assembly component that is configured automatically is the Properties folder. The input Properties folder is connected to the output Properties folder with a Move transform. It is also possible to map other message assembly components such as transport headers and the local environment tree.
In this scenario you configure the local environment tree as an additional component for a message map in the Graphical Data Mapping editor.
Procedure
To configure the local environment tree in a message map, complete the following steps:
Results
The following figure shows the message map in the Graphical Mapping Data editor after you create a message map to transform a SOAP message and configure the local environment tree:
What to do next
Add variables defined in the local environment tree variables folder, see Configuring the local environment tree Variables folder by using the Cast function.