Skip to Content
0
Former Member
Dec 19, 2006 at 09:25 AM

XML header Missing

537 Views

Hi i am doing a File-XI-File scenario, using Content Conversion.

Sceanrio involves Multimapping.

The problem is The XML payload created by my Sender Communication Channel Does not match the XML-Strucure expected in MessageMapping, The header of the XML structure differs which results in a MAPPING RUNTIME EXCEPTION.

Below is the Strucure of the Source XML payload (Generated by my Sender Adapter)

<b><?xml version="1.0" encoding="utf-8" ?>

- <ns:MT_Source_ItemMaster xmlns:ns="http://Itemmaster/demo"></b>

- <Records>

- <Recordset>

<Fileno>0000005265</Fileno>

<Item>00000000000000001</Item>

<Aendtyp /> ......so on

Now when i Check my Interface mapping with no data under Test tab, and see the XML Structure at Source it is like this

http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns1:MT_Source_ItemMaster_1 xmlns:ns1="http://Itemmaster/demo"></b>

Please notice the header part indicated in bold.I am unable to figure out how i can change my source payload to look like this