Hi,
I'm consuming one webservice which hosted in IIS in my windows service. While consuming that web service proxy method I'm getting below error.
But its not happening regularly, randomly it s happening. Sometime its working very fine.
Error is :
The content type text/html of the response message does not match the content type of the binding (text/xml;charset=utf-8). If using a encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 163 bytes of the response were "<html><head><title>Error</title></head><body> Either a required imersonation level was not provided, or the provided impersonation level is invalid </body></html>
Thanks in advance.