Connect-SOAP request converts plus (+) to unicode value (+)
In Pega Platform 7.4, the plus (+) symbol in the binary content that is sent using a Connect-SOAP Request from Pega is converted to its Unicode value (that is, +). Hence, the Service call fails.
Steps to Reproduce
- Create a Connect-SOAP Integration in Pega.
- Set a Pega property to a binary content value containing a plus character (+).
- Use the XML Stream rule to generate the XML that sends the binary content with the plus character.
- Parse the content. The plus character is converted to its Unicode value.
An issue in the custom application code or rules.
The Mapping mode of the element used to map the property containg the binary content in the XML Stream rule is set to Standard.
When the Mapping mode is set as Standard, special characters are converted to Unicode values during mapping.
Perform the following local-change:
Set the Mapping mode for the element used to map the binary content in the XML Stream rule as 'Literal XML' instead of Standard.
Published April 4, 2020 - Updated December 2, 2021
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.