Question

1
Replies
126
Views
Sri Harsha Reddy Alla (SriHarshaReddyA)
Visual IT Services, Inc
Pega Developer
Visual IT Services, Inc
US
SriHarshaReddyA Member since 2017 1 post
Visual IT Services, Inc
Posted: March 11, 2020
Last activity: March 17, 2020
Posted: 11 Mar 2020 10:36 EDT
Last activity: 17 Mar 2020 12:38 EDT
Closed

Parse XML Rule not working in Connect-REST if "&" in response

Hi,

Please find below details about the issue.

  • Facing Exception while Applying Parse XML due to special character (“&”).  
  • Using a Parse XML rule  in Connect-REST service POST method to parse an XML.
  • In the XML if any of the value tag contains a Special character ("&"), The Parse XML is failing with this Error: Caught Exception Parsing XML Stream.
  • The root cause of this problem is '&' is not a valid XML character.

·       Attempted Solutions:

  •  PDN recommends using DSS  json/escapeSpecialCharacters) which we tried and it didn’t work. There is a HFix-23862 associated with this that was given for version 7.1.x so ideally it should work for our version which is 7.4 but it’s not working.
  • And also verified PRSYSMGMT for the JVM setting "file.encoding" - it is set to UTF-8.
Pega Platform 7.4 Enterprise Application Development Dev/Designer Studio Financial Services System Architect
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.