on 09-23-2008 7:44 PM
Hey Guys
I m trying to set the encoding of XML payload in my receiver HTTP adapter as UTF-16 but its giving me the following error in sxmb_moni
External code page UTF-16 missing in system
I m able to set the encoding as UTF-16LE or UTF-16BE though.
The receiver system needs only UTF-16.
Any idea where should i look at?
Thanx
Aamir
Contact the system administrator and ask him to install the missing code page. It should be part of the OS, where the XI system is installed.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanx Stefan
But we already have UTF-16 codepage on system.
Also a small question,when we are changing the encoding for receiver HTTP communication channel,we only need to specify the encoding under "XML Code" in receiver communication channel,right?
Is there any other place where we need to change the encoding.
Thanx
Aamir
Stefan
Thanx for your help,actually i m getting data in UTF-8 format and i need to convert this to UTF-16 format,now if i specify UTF-16 in the XI payload manipulation in receiver HTTP adapter,the message passes through successfully in sxmb_moni but the receiver system is unable to open the file,i checked with TCP gateway and its working fine.I have not done any XSLT or Java mapping to convert UTF-8 to UTF-16.The outbound payload in TCP Gateway does have UTF-16 in the XML declaration though.
I was looking at your reply in the following thread
and you said that the we need to have Java/XSLT mapping as well as set XI payload manipulation in receiver HTTP adapter.
Do we need to use XSLT/Java mapping as well as set XI payload manipulation as UTF-16 to properly convert the message?
Thanx
Aamir
Edited by: Aamir Suhail on Sep 24, 2008 8:50 PM
Hi Aamir,
My previous reply was only for the error message.
If you want to change your XML payload to UTF-16, I recommend using the SOAP adapter instead of the HTTP adapter, if his is possible in your scenario.
You set the paramater "Do not use SOAP envelope" and add the XMLAnonymizerBean to the module chain. Here you set the encoding to UTF-16.
See this blog:
Hope that helps
Stefan
Hey Stefan
I would have loved to use SOAP here coz i can add modules in it,but due to some business constraints i need to use HTTP,i m doing XSLT mapping to convert UTF-8 to UTF-16 .when i test it under test tab in Interface mapping,the resulting payload is all garbled but when i run the scenario i can see correct payload in sxmb_moni but in the pipeline steps its failing at HTTP_PLAIN_ADAPTER level with the error "Code page conversion not possible".I have given UTF-16 under XML manipulation in HTTP receiver communication channel as well.
As per our system admin ,we have UTF-16 codepage installed on the system.
Thanx
Aamir
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.