Hi guys,
We are implementing in PDI the call to an external system thanks to the External Web Service Integration object.
The purpose of the call is to return a Stream PDF (application/pdf) content.
We have tested the external service and in POSTMAN it works correctly but when we do a test from C4C the content returned by the call has a data decoding problem.
In fact, some characters are transformed into the character ? inside a square.
Correctly Example:
stream
xœíÜkræ¶’aÍ£ÃóŸf‡Ã;ʲôL\råïøÓEæÊËÄ)ïóõ…¿þú¿Vt! °åÏé† €º¾m8à (ê÷цÓ
€Š>žn8à ¨åéhÃé @-ƒÓ
Wrong Example:
stream
x kr涒 aͣ f ;ʲ L\r E ) Vt! m8 ( ц
> n8 h @-
The question marks are not visible as text in this copy and paste and I am attaching an image with the correct file on the left and the one that C4C imports from the service on the right.

The service was called with the same parameters used by POSTMAN as follows:
var Binary_response = WebServiceUtilities.ExecuteRESTServiceWithoutEncoding(ScenarioCallM3,ServiceCallM3,HttpMethodGet,HttpResourceBinary,urlParams,headerParams,ContentType,body);
any idea to solve the problem?
.
Thanks in advance
Jhonny