Possible Duplicate:
Client found response content type of 'text/html', but expected 'text/xml'
I am adding web reference for user authentication. The project build its successful. But after that once I enter an username and password and enter logon button it gives below error message.
"Client found response content type of 'text/html', but expected 'text/xml"
Here is my code:
webservice.API c = new webservice.API();
var ret = c.checkAuth(new Guid("34343-kjk343-44343-3434"), UserName.Text, Password.Text);
if (ret.APIStatus.id == 1)
{
}
else
{
}
Any help would appreciate it.