Skip to Content
Jun 23, 2016 at 12:03 AM

how to add ns0 to the root namesapce



Target SAP system is expecting n0: at the namepsace as shown below.

But the file from customer is coming without n0: I have a file--pi-->proxy scenario.(No mapping)

I went through lot of blogs, and tried XMLAnonymizer Bean on file adapter module. It is adding ns0: for all the elements. I just need to root node as shown in the screenshot. If add bean on SOAP adapter it has no effect.

I have tried XSLT Mapping from but it is simply adding another namespace tag at the root.

I have no control on source and target and need to change only in SAP PI/PO System. Is there a way to make this work in SAP XI/PI ?




root tag.PNG (9.4 kB)