Support Article

SOAP request is not parsing rich text data

SA-38283

Summary



The user is on Pega 7.1.8 and are trying to send rich text data over SOAP request. The tags and special characters present in the generated XML are converted to encoded strings.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a SOAP connector.
  2. Send Rich Text data in the SOAP request.
  3. The SOAP Connector fails to parse the rich text data correctly. The special characters get encoded in the generated request.


Root Cause



An issue in the custom application code or rules is identified as root cause of the issue.

Resolution



Here’s the explanation for the reported behavior:

In the XML Stream rule referenced in Connect-SOAP,
set the Mapping Mode to “Literal XML” for the node that is used to send special characters. The mapping mode of the parent node or any other node does not matter, you can keep them as is.

Published May 19, 2017 - Updated June 27, 2017

Have a question? Get answers now.

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