cancel
Showing results for 
Search instead for 
Did you mean: 

Empty content in RESTCallResult for GET when using ExecuteRESTService

01-08-2025 1:57 PM
saskias Explorer
801 views 1 comments
0 Likes
SAP Managed Tags
Labels
abslcloud application studioExecuteRESTServiceSAP C4Csap sales
Subscribe

We have used several times WebServiceUtilities.ExecuteRESTService() and WebServiceUtilities.ExecuteRESTServiceWithoutEncoding(). So far the RequestMethod had always been "POST" and everything worked fine. The body of the Response was always included in the returned RESTCallResult.content structure.

Now I want to add another call with one of the above methods in an absl script, but now the result is not returning any content in the absl file.

When calling the REST Service in Postman, everything works fine and I am sure that the webservice is returning the xml structure.

What I am missing here? What would be the correct way to get xml content from a GET REST Webservice if this is not the correct script method?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

saskias
Explorer
0 Likes

Nevermind! I solved it on my own and the solution is:

The debugger "Locals" window did not show any result, but when I traced the information it was clearly shown in the "Output" window. Just lost one day on this...