Skip to Content
0
Former Member
Oct 09, 2014 at 02:51 PM

How to check input payload content type in java mapping

281 Views

Hi Experts,

I am doing proxy to soap scenario, some times web service is returning html payload to PI and failing in PI, so i want to check the response payload whether it is html or xml, if it is html i want to map it to fault message and send it to proxy, please tell me how to check the content type of input payload in java mapping.

Regards,

Rachana.