• 1 reply
  • Latest Post - ‏2013-10-07T03:35:11Z by fjb_saper
1 Post

Pinned topic Creating Message Flow using Mapping Node - Facing problem

‏2013-09-11T12:49:36Z | flow mapping wmb



I am newbie to the IBM WMB. And I am trying to implement the 'Mapping node' in the message flow which I have created. The expected output is not obtained, I would request the forum to put some light on this topic.

I will explain my requirement,

1. I have a MQ to get the input from user which is an user defined XML file

2. Then the input XML is fed into the 'Mapping node', I do the mapping which is a straight forward mapping.

3. Resultant XML is directed to the output queue.


My flow,

MQ Input --> Mapping --> MQ Output

User defined XML:

<?xml version="1.0" encoding="UTF-8"?><ns5:Generic xmlns:ns5="" xmlns:xsi="" xsi:schemaLocation=" foo.xsd "><field0>INPUTT</field0><field1>100001</field1><field2>1001</field2><field3>USD</field3><field4></field4><field5></field5><field6></field6><field7></field7><field8></field8><field9></field9></ns5:Generic>

Expected XML:

<?xml version="1.0" encoding="UTF-8"?><out3:ACCOUNTTESTRequest xmlns:out3="" xmlns:xsd="" xmlns:xsi="" xmlns:out2="" xmlns:out="">

Actual Output out of Mapping node:

<ACCOUNTTESTRequest xmlns=""/>


I tried to create a map using the XSD I have used to create the mapping node, this time when I provide the XML as input to the map, the performed as expected.

This output is expected from Mapping node.


Please provide your valuable comments on this.

  • fjb_saper
    159 Posts

    Re: Creating Message Flow using Mapping Node - Facing problem


    Are you using the graphical mapping tool?