Prashant Jain (Prashant_Jain)
Coforge Limited
Technical Lead
Coforge Limited
Prashant_Jain Member since 2013 2 posts
Coforge Limited
Posted: April 21, 2017
Last activity: May 17, 2017
Posted: 21 Apr 2017 2:58 EDT
Last activity: 17 May 2017 7:46 EDT

Plus sign "+" in request XML is shown as "+" in the Upload Document Service

In our Connect-HTTP Upload document service, we have a field called DOCUMENT-CONTENT, which takes document content streame in Base64 encoded format. We need to pass the attach document stream to the DOCUMENT-CONTENT field to store the document.

After dubugging request XML sent to the network we found that all the '+' signs in the DOCUMENT-CONTENT field have replaced with '+'. Following a pdn article ( I found, this is due to a defect in Pegasystems’ rules that the label which contains '+' gets encoded twice due to which it becomes ' +'. This gets resolved in UI as '&43#;'. This problem has been fixed in Pega 7.1.9 for labels but problem seems to exist for integrations. Can someone please assist?

Data Integration
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.