Skip to main content

Modifying character set encoding for Service SOAP rules

Suggest edit
Updated on January 29, 2021

By default, Pega Platform uses UTF-8 as the character set encoding for SOAP response messages.

  • To change character set encoding for SOAP responses, modify the value of the CharacterEncoding parameter that is specified for the PRSOAPServlet servlet in the Pega Platform web.xml file.

  • If required, you can configure Pega Platform so that the encoding of the response matches the encoding of each SOAP request, no matter what it is set to. To implement this configuration, do the following:

    • Delete the CharacterEncoding parameter from the servlet definition of PRSOAPServlet in the web.xml file.
    • Configure the external application that sends the SOAP requests so that it includes the Content-Type HTTP request header in the SOAP request, specifying the character set encoding of the message.
    Result: If a SOAP request provides an encoding value, the PRSOAPServlet servlet uses that character set for the response. But if the SOAP request does not specify an encoding value, PRSOAPServlet uses UTF-8.
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us