on 02-11-2013 10:10 AM
Dear All,
I am using CIDX standard structure in Source and Target message in a Message Mapping.
The structure i get in the test tab of message mapping is as below:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:OrderCreate Version="4.0">
<ns0:Header>
<ns0:ThisDocumentIdentifier>
<ns0:DocumentIdentifier>Batch Number </ns0:DocumentIdentifier>
</ns0:ThisDocumentIdentifier>
<ns0:ThisDocumentDateTime>
<ns0:DateTime DateTimeQualifier="On">2105-10-04T07:59:00-05:00 </ns0:DateTime>
</ns0:ThisDocumentDateTime>
<ns0:From>
<ns0:PartnerInformation>
<ns0:PartnerName> company </ns0:PartnerName>
<ns0:PartnerIdentifier Agency="D-U-N-S">001317452 </ns0:PartnerIdentifier>
</ns0:PartnerInformation>
</ns0:From>
<ns0:To>
<ns0:PartnerInformation>
<ns0:PartnerName>Vendor Company Name </ns0:PartnerName>
<ns0:PartnerIdentifier Agency="AssignedByBuyer">1234567 </ns0:PartnerIdentifier>
</ns0:PartnerInformation>
</ns0:To>
</ns0:Header>
and so on.
But from the source the data is coming in the below structure (without ns0)
<?xml version="1.0" encoding = "UTF-8"?>
<OrderCreate Version="4.0">
<Header>
<ThisDocumentIdentifier>
<DocumentIdentifier>123</DocumentIdentifier>
</ThisDocumentIdentifier>
<ThisDocumentDateTime>
<DateTime DateTimeQualifier="On">2113-02-08T10:05:00-05:00</DateTime>
</ThisDocumentDateTime>
<From>
<PartnerInformation>
<PartnerName>hello</PartnerName>
<PartnerIdentifier Agency="AssignedByBuyer">hello</PartnerIdentifier>
</PartnerInformation>
</From>
<To>
<PartnerInformation>
<PartnerName>goodby</PartnerName>
<PartnerIdentifier Agency="AssignedByBuyer">PM</PartnerIdentifier>
</PartnerInformation>
</To>
</Header>
<OrderCreateBody>
<OrderCreateProperties>
<PurchaseOrderNumber>
and so on...
So message is failing in PI.
Please help me with the solution.
Please help me letting know howto remove this ns0 tag from the structure in PI.
regards,
Anuj
Hello,
Have you tried using the XMLAnonymizerBean?
http://help.sap.com/saphelp_nwpi711/helpdata/en/84/2e3842cd38f83ae10000000a1550b0/frameset.htm
In your message type, can you delete the entry under XML Namespace?
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.