Skip to Content

Actual Namespace after removing the prefix by using the xml Anonymizer Bean in SAP PI

Hi Team,

we have configured the xmAnonmyzer Module parameters in JMS sender adapter. The prefix started with <dsr:LineItemItems>6</dsr:LineItemItems> are removed by the module parameters but in the main tag the "xmlns" & "xsi" namespaces are missing in the ouput xml.

Please help us to get the main tag with the namespaces.

Input xml:

<?xml version="1.0" encoding="utf-8"?>" xmlns:dsr="" xsi:schemaLocation=" POSLog.xsd DSRPOSLog.xsd" xmlns="">
<Transaction CancelFlag="false" TrainingModeFlag="false">
<UnitID Name="1101" TypeCode="RetailStore">Store_1101</UnitID>

Module Configurations in JMS sender adapter:

Output Message:

<?xml version='1.0' encoding='utf-8'?>

<Transaction CancelFlag='false' TrainingModeFlag='false'>

Namespaces are missing in the output messages the POSLog message.

Please help us to get the actual namespaces in the output message genearated by JMS sender adapter.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 26, 2017 at 06:04 PM

    Hello Ravi,
    There were 2 known issue with incorrect NS handling in XMLAnonymizerBean. Please check SAP Notes 1920468 and 1725341. I believe the parameter from 1st Note will resolve the problem.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded