cancel
Showing results for 
Search instead for 
Did you mean: 

Change the header of message XML

Former Member
0 Kudos

Hi,

I am trying change the header of message xml. We need change the encoding.

Somebody know how i make it?.

Thanks very much,

Antonio

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sorry, my escenary is :

I received one file wiht encoding ISO-8859-1 and I want change by UTF-8 because i have one problem with ñ an accent.

I try with anonymizer.encoding but not work.

thanks for all

stefan_grube
Active Contributor
0 Kudos

Did you receive the file with file adapter?

Then declare the file as text and put the encoding ISO-8859-1 to the properties of the sender channel.

Stefan

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks for all,

It work fine

former_member187587
Contributor
0 Kudos

In this needed for single existing message or as a program from now-on??

stefan_grube
Active Contributor
0 Kudos

When you not only want to change the header, but the encoding in the document as well, an XSLT might help.

Check this thread:

Regards

Stefan

deviprasad_pothireddy
Active Participant
0 Kudos

Hi Antonio,

Also, refer the Stefan's weblog

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5767. [original link is broken] [original link is broken] [original link is broken] [original link is broken]

Regards,

Deviprasad

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if you're using SAP adapter you can use xisoapAdapterBean

from:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873...

parameter: XMLEncoding

Regards,

michal