I m consuming a SOAP service from my mobile application. When I fire a SOAP request from my mobile application, the request goes through a Web Application Firewall and it gets blocked for some reason. The firewall instead gives me an HTML Page in response. So basically I am receiving an HTML page instead of a proper SOAP response. 

Is there any way to parse that HTML page and show it on the screen to the user?

Hi Shounak,

I don't think there is, and there shouldn't be, as it could contain all kinds of malicious content, for all you know. Also, most likely the HTML will contain technical error codes, something the average user likely couldn't "read" anyway.