on 09-09-2011 7:48 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 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
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.