cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Encoding in XML header without mapping

Former Member
0 Kudos

Hi Gurus,

I am stuck in a situation where in a pass through scenario, I need to add encoding type in XML header.
Below is example -

Current Situation - <?xml version="1.0"?>

Expected result -  <?xml version="1.0" encoding="UTF-8"?>

Can anybody help me in this regard? how to achieve this?

Regards

Vidhi S

Accepted Solutions (1)

Accepted Solutions (1)

former_member184720
Active Contributor
0 Kudos

Hi Vidhi - I believe you can use xml anonymizer bean.

Have a look at the below note..

880173 - XI 3.0 Adapter Framework XML Anonymizer Module


XMLAnonymizerBean (SAP Library - SAP Exchange Infrastructure)

Former Member
0 Kudos

Hi Hareesh,

I tried XMLAnnonymizerBean, it's not working in my case or might be I am using it wrongly. Can you help me with settings?

Thanks

Vidhi S

Former Member
0 Kudos

Hi Vidhi

Use it in the below way in the receiver adapter.

Module name: AF_Modules/XMLAnonymizerBean

Parameter name: anonymizer.encoding

This will work. I have tested already.

Answers (0)