cancel
Showing results for 
Search instead for 
Did you mean: 

How to change receiver SOAP adapter encoding

Former Member
0 Kudos

Hi, I would like to change receiver SOAP adapter encoding ie. encoding of outgoing message. What I need to do to change it? Thank you in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Resolved.

former_member706117
Discoverer
0 Kudos

Dears, i have similar scenario to change encoding tag. Is it working perfectly by using the XMBWS.XLEncoding parameter in soap receiver communication channel?

Former Member
0 Kudos

What character encoding is supported by the SOAP receiver adapter?

A: The SOAP receiver adapter can use any character encoding supported by the local JDK. The request message from the SOAP receiver is normally encoded in UTF-8. If you want to change this encoding, for instance to iso-8859-1, you can set parameter XMBWS.XMLEncoding to iso-8859-1 in the module configuration for the SOAP adapter module. This setting is for the outgoing SOAP message and has no effect on the incoming SOAP message. For the incoming SOAP message, any code page supported by the local JDK is accepted.

Former Member
0 Kudos

I did it ... how can I now verify that SOAP receiver message is encoded in desired encoding? (for example UTF-16)? When I look at outgoing message, it still appears to be encoded in UTF-8 encoding (the payload message has header <?xml version="1.0" encoding="UTF-8"?>)

Former Member
0 Kudos

Is there any difference in the payload ?

May be you can compare the Character set of both Encodings

Former Member
0 Kudos

No. There is one strange thing. As I wrote, both messages have headers with attribute encoding="UTF-8". BUT, when I display the payload in SXMB_MONI transaction, and I display a context menu on it (right click), context menu says that the message is encoded by Unicode Encoding, what is UTF-16 (not UTF-8) ... When I select "Display source code" from context menu, the message displays in external viewer when can I ensure, that the encoding is really UTF-16 ... can enybody explain this? When the message header claims UTF-8 header but the message is encoded in UTF-16 encoding?

Thank you in advance.