Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'

Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'


This error message is raised whenever a client
makes a call to a ASP.NET web service,the call fails
and the default ASP.NET error page is generated.


The client making the call receives the ASP.NET error page
as the response to the web service call and raises an exception
because the response is text\html whereas the web service
call expects the text\xml response.

The error is usually in the web service configuration or could
be an unhandled exception in the web service.

To determine the actual cause of the error you can browse
to the web service and execute the webmethod
from the default test page locally.

No comments:

Post a Comment