Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 23-Sep-10 23:29pm
v2

1 solution

Looks like this guy [^]knows about this error... try out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900