cancel
Showing results for 
Search instead for 
Did you mean: 

XML file header Section

Former Member
0 Kudos

Hi XI Experts ,

Scenario : RFC (SAP ) - >XI -> HTTPS connection to a EXternal Server .

Csutomer wants the : The XML version and character set should be described as: version 1.0, character set GBK.

Sample: <?xml version="1.0" encoding="GBK"?>

BUt the usual xml format generated is : <?xml version="1.0" encoding="UTF-8"?>

How do we cahnge the xml standard format to : <?xml version="1.0" encoding="GBK " in XI ?

Kindly suggest .

Thank you ,

Varalakshmi

Accepted Solutions (1)

Accepted Solutions (1)

former_member854360
Active Contributor
0 Kudos

Hi,

You can use SOAP adapter with do not use SOAP envelope option.

And in Receiver adapter use standard module XMLAnnomizer Bean to chenge the encoding

refer

anonymizer.encoding

To use a code page other than UTF-8, enter it.  The parameter is optional.

For example, enter ISO-8859-1.

http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm

/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean

stefan_grube
Active Contributor
0 Kudos

> And in Receiver adapter use standard module XMLAnnomizer Bean to chenge the encoding

anonymizer.encoding GBK

should work

GBK is standard encoding for chinese characters

http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html

Former Member
0 Kudos

Sorry for teh delayed response .

Thank you for the information . I will try this in Reciever HTTP adapter.

Best regards,

Varalakshmi

Answers (0)