Skip to Content
avatar image
Former Member

How to change receiver SOAP adapter encoding

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 21, 2008 at 01:57 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.

  • avatar image
    Former Member
    Jan 21, 2009 at 02:46 PM

    Resolved.

    Add comment
    10|10000 characters needed characters exceeded