on 02-04-2009 5:57 PM
Hello,
I am using XMLAnonymizerBean to place a prefix for the incoming message. But its placing the prefix in all the nodes.
Module step I have used is
AF_Modules/XMLAnonymizerBean - LocalEnterpriseBean - 0
0 - anonymizer.acceptNamespaces - urn:sap-com:document:sap:rfc:functions ns1
0 - anonymizer.encoding - utf-8
Input XML
<?xml version="1.0"?>
<IDD001 xmlns="urn:sap-com:document:sap:rfc:functions">
<child1>
<item>
<a>20090123</a>
<b>0923</b>
<c>ET</c>
<d>5210</d>
</item>
</child1>
</IDD001>
OutputXML
<?xml version="1.0" encoding="utf-8" ?>
<ns1:IDD001 xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
<ns1:child1>
<ns1:item>
<ns1:a>20090123</ns1:a>
<ns1:b>0923</ns1:b>
<ns1:c>ET</ns1:c>
<ns1:d>5210</ns1:d>
</ns1:item>
</ns1:child1?
</ns1:IDD001>
I want the prefix only for the root element..We are in XI 3.0 SP 15..Any ideas or patches anybody found for this issue.? Thank you..
Remove namespace in the message type in your repository.
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No its a proxy structure imported from ECC..I cannot remove it there....The same proxy structure xml is sent from the third party system and the msg is sent to SAP without any mapping and to another system in the format that it requires..But the third party system is not sending with a prefix for its namespace and hence the msg is failing in SAP as well as in XI when trying to send to another system....
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.