cancel
Showing results for 
Search instead for 
Did you mean: 

REST service returning wrong (incomplete) response in XML format (code page issue?)

vidlak
Explorer
0 Kudos

Hello,

we are calling external REST service that's returning response with XML data but specific part of XML message is corrupted. When I simulate the call via Postman everything is correctly visible.

Postman response has following header parameters:

Content-Type = text/html;charset=ISO-8859-1

Content-Length = 771 (in SAP program this value is shorter - only 550)

Do you have any idea how can I get correct/complete XML content?

Thanks!!

Accepted Solutions (0)

Answers (1)

Answers (1)

cris_hansen
Advisor
Advisor
0 Kudos

Hello Zdenek,

If you have access to the backend, then you can check what is sent via ICM:
set the ICM trace level to 3 via SMICM, set icm/trace_secured_data = 1.
Then execute your program.
You should be able to see the complete HTML dump in dev_icm trace file.

Regards,

Cris