Hello all.
I'm creating an HTTP scenario like backend->PI->SOAP(AXIS) (synchronous) to consume a rest web service. The goal is to make an HTTP call using method GET (no payload) and the URL must be dynamic. To achieve it I read several links, like: Consuming Synchronous RESTful Web Service with PI - I
and it seems to be working fine (the request part).
Using a SICF http service (using like a mock service), I can see that everything is doing fine. This http service, like the real one, returns an xml in the response (not a SOAP envelope).
However, when invoking the real web service, i'm receiving this error:
Exception caught by adapter framework: ; nested exception is:
org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1f) was found in the element content of the document.
I can also test the real scenario using an HTTP requester and it returns an xml, like the one my SICF service returns.
My suspission is that the real webservice is returning a gzip response and this prevents PI from being able to parse the response.
For that I'm, trying to use:
a) AF_Modules/PayloadZipBean to unzip the reponse before parsing
b) set HTTP-Request-Headers{Accept} with "*/*"
Both without success
Regards,
VDO