on 08-07-2009 8:43 AM
Hi All,
The XML PI is expecting is
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TAC xmlns:ns0="urn://BLSWebsite/CreateServiceOrder">
<TAC>
<TACHEADER>
<FILETYPE>ZNSMORDER</FILETYPE>
<FILEID>090730.12014</FILEID>
<VERSION>1.0</VERSION>
</TACHEADER>
<ZNSMORDER>
<HEADER>
<NOTIFICATIONNO>na03909302</NOTIFICATIONNO>
<CUSTOMERNO>8510656</CUSTOMERNO>
<CEDROP>CE847452</CEDROP>
<COMMENTS>Need copy of hppc v7r3 so can upgrade site from v7r1...
Have a great day,
Randy</COMMENTS>
<REQUIREDBY>00/00/0000</REQUIREDBY>
<DETAIL>
<PARTNUMBER>P30152P1182P004</PARTNUMBER>
<QUANTITY>1</QUANTITY>
<PRICE>0.00</PRICE>
<SYSTEMID>L31907D 645U</SYSTEMID>
</DETAIL>
</HEADER>
</ZNSMORDER>
</TAC>
</ns0:MT_TAC>
but the XML We are recieving from third party is
<?xml version="1.0"?>
<TAC>
<TACHEADER>
<FILETYPE>ZNSMORDER</FILETYPE>
<FILEID>090730.12014</FILEID>
<VERSION>1.0</VERSION>
</TACHEADER>
<ZNSMORDER>
<HEADER>
<NOTIFICATIONNO>na03909302</NOTIFICATIONNO>
<CUSTOMERNO>8510656</CUSTOMERNO>
<CEDROP>CE847452</CEDROP>
<COMMENTS>Need copy of hppc v7r3 so can upgrade site from v7r1...
Have a great day,
Randy</COMMENTS>
<REQUIREDBY>00/00/0000</REQUIREDBY>
<DETAIL>
<PARTNUMBER>P30152P1182P004</PARTNUMBER>
<QUANTITY>1</QUANTITY>
<PRICE>0.00</PRICE>
<SYSTEMID>L31907D 645U</SYSTEMID>
</DETAIL>
</HEADER>
</ZNSMORDER>
</TAC>
The initial tags are missing so the messsage fails in XI so i there any possible way to recieve what they are sending and add the tags reuired by SAP-PI by some method in XI. Please help on this
Check this blog to remove the namespace: /people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
As suggested have TAC as the root element (name of your Message Type) instead of MT_TAC.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
In addition to the above said points you also need to remove encoding="UTF-8" this content from top line to make it work.
YOu can also do this by writing Adapter module and delete encoding="UTF-8" .
Regards,
Anurag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
open your message type in integration repository and remove the namespace from it
+ you also need to change the message type name from MT_TAC to TAC
and remove the TAC tag from the data type
then it will work
Regards,
Michal Krawczyk
Edited by: Michal Krawczyk on Aug 7, 2009 9:58 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.