cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Remove namespace from XML file

Former Member
0 Likes
3,204

Dear All,

I searched the forum and found out few ways to remove namespace from XML file. One way is to use bean AF_Modules/XMLAnonymizerBean.

I checked in XML message(receiver file) in RWB, but can see namespace still there. Is it that when XML will be created namespace will absent. Or did I miss anything in here?

Thanks.

Sumeet.

View Entire Topic
Former Member
0 Likes

Hi Sumeet,

For more details about XMLAnonymizerBean, check the following sources:

SAP Help: Adding XMLAnonymizerBean in the Module Processor

SAP Note 880173 - XI 3.0 Adapter Framework XML Anonymizer Module

There are even some examples included. Please note that the namespace definition still stays in place, the namespace prefix is only removed from the individual tags of your payload. Depending on where you use the bean (sender or receiver channel), namespaces can also be added e.g. by the Message Mapping object.

Regards,

Grzegorz

Former Member
0 Likes

Hi Grzegorz,


You are right. Instead of this I used simple XSLT mapping to solve this.


Thanks.

Sumeet.