Modifying character set encoding for Service SOAP rules
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 thePRSOAPServlet
servlet in the Pega Platformweb.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 ofPRSOAPServlet
in theweb.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. - Delete the
Previous topic WSDL generation for Service SOAP rules Next topic Service SOAP rules debugging and performance