Skip to Content
0
Jul 26, 2016 at 07:26 PM

My mapping expecting <ns0 for every element

266 Views

Hi Experts,

I have an inbound interface, the XSD is shared by the partner and its used in the mapping. The mapping is expecting <ns0 in the beginning of every element however the XML we are getting from partner does not have it. How do I add it or what i can do to process the XML's

XML expected by PI mapping

<?xml version="1.0" encoding="UTF-8"?>

<ns0:ED xmlns:ns0="http://www.abc.com/ED">

<ns0:Header>

<ns0:Period/>

<ns0:Count/>

</ns0:Header>

<ns0:ED1>

<ns0:SAP/>

<ns0:WorkDate/>

</ns0:ED1>

</ns0:ED>

XML sent by partner

<ear:ED xmlns:ear="http://www.abc.com/ED">

<Header>

<Period>4</Period>

<Count>4</Count>

</Header>

<ED1>

<SAP>00813518</SAP>

<WorkDate>121212</WorkDate>

</ED1>

Thanks,

Nishant Chavan