SAP Knowledge Base Article - Public

2593287 - XML Syntax is Getting Changed With ExecuteRESTService

Symptom

The ExecuteRESTService as part of WebServiceUtilities is causing the '<' in the resulting XML file to be changed to '&lt'.

Environment

SAP Cloud Applications Studio (SDK).

Reproducing the Issue

Calling a REST service third party webservice using WebServiceUtilities.ExecuteRESTService in absl scripting.

Cause

This method allows encoding which can change characters in the XML file.

Resolution

Using ExecuteRESTServiceWithoutEncoding should resolve this issue.

Keywords

XML, ExecuteRESTService, '&lt' , KBA , AP-RC-BDS-WS , ByDesign Studio Web Services , How To

Product

SAP Cloud Applications Studio all versions