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"?>
http://www.w3.org/2001/XMLSchema-instance" xmlns:dsr=" http://www.dsr.com/rsd/tlog/markup/poslog" xsi:schemaLocation=" http://www.nrf-arts.org/IXRetail/namespace/ POSLog.xsd http://www.dsr.com/rsd/tlog/markup/poslog DSRPOSLog.xsd" xmlns=" http://www.nrf-arts.org/IXRetail/namespace/">
<Transaction CancelFlag="false" TrainingModeFlag="false">
<RetailStoreID>1101</RetailStoreID>
<BusinessUnit>
<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'>
<RetailStoreID>1101</RetailStoreID>

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.

Thanks,

Ravi

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,
    Vadym

    Add comment
    10|10000 characters needed characters exceeded