I am getting this error:
Client found response content type of \'text/html\', but expected \'text/xml.
I am adding web reference
I have found Fiddler to be highly useful in debugging http client server issues. It is a proxy that allows you to intercept and even change the content of the request and response.