Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Modifying character set encoding for Service SOAP rules

Updated on November 23, 2022

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.

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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