Posted: Fri Nov 16, 2007 4:58 am Post subject: Mapping SWIFT message to XML using Mapping Node
Newbie
Joined: 11 Oct 2007 Posts: 3
Hi,
I am using SWIFT and XML message set to MAp the data. The source message set is SWIFT and destination is XML. When I am mapping the source element tag SW20 to the destination XML element , it is not populating the data in the XML attribute.
Here is the code in the Mapping NODE:
dest element1 : $source/MT103/SW20
I have set the destination message set attribute to get the XML data as:
In the Properties Header:
Message set : 'KDH7E9C002001'
Message Type: 'Emp'
Message Format : 'XML1'
Is your problem *exactly* the same as the other problem?
If you have not already done so, please
- insert a Trace node immediately before the Mapping node, and set its pattern to '${Root}'
- Inspect the message tree and check that the incoming message really does have a value in MRM/MT103/SW20
- If you still cannot see what the problem is, insert a Compute node and try mapping InputRoot.MRM.MT103.SW20 to OutputRoot.<your destination path>.
Guess: MT103 is a SWIFT message type. MRM paths should not contain the name of the message. So maybe the mapping expression should be '$source/SW20'.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum