Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I am using a web service in my project and while I am debugging it there are no errors.
It builds succesfully, but when I clinck any button to bring data from the database it shows the following error:

Error:
"client found response content type of text/html charset=utf-8 but expected text/xml"

I have searched in Google to solve this error but to no use.
So can anyone suggest me how to go about solving this error.

Thanks in advance!
Posted
Updated 27-Feb-11 21:28pm
v3

Try using a tool like Fiddler to debug information being sent across the wire to and fro the web service.

This looks like something to do with the way the request / response is being generated.
 
Share this answer
 
 
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