LinkedIn
Copied!

Table of Contents

Modifying character set encoding for Service SOAP rules

Version:

Only available versions of this content are shown in the dropdown

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.
    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 Collaboration Center to ask questions, engage in discussions, share ideas, and help others.