Skip to Content
0
Former Member
Jul 15, 2013 at 06:01 AM

Message Mapping Error .

13 Views

Hi,


While executing Message Mapping I am getting LastName data in wrong Node on Target Side.

eg.
<root>
<Source> /* Data 1 */
<FirstName>FName1</FirstName>
<LastName>LName1</LastName>
</Source>
<Source> /* Data 2 - Here from Source I am not getting last name in XML Paylaod*/
<FirstName>Name2</FirstName>
</Source>
<Source> /* Data 3 */
<FirstName>Name3</FirstName>
<LastName>LName3</LastName>
</Source>
</root>


Where as on response side, I am getting target XML as this.

<Target>/* Data 1 */
<FirstName>FName1</FirstName>
<LastName>LName1</LastName>
</Target>
<Target>/* Data 3 */
<FirstName>FName2</FirstName>
<LastName>LName3</LastName> -- Wronge data here ---
</Target>
<Target>/* Data 3 */
<FirstName>FName3</FirstName>
</Target>

How to handle such case

I have attached following for your reference.

1. Screenshot of MessageMapping .
2. XSD of Source side Structure. - Sorry not able to attach 😔
3. Sample XML Payload.


Regards
PS

Attachments

Sample.xml (9.3 kB)
MM.GIF (230.1 kB)