XML : WCF Service returning non-error html page (should be XML)

I don't exactly know what code is relevant here any suggestions would be appreciated.

What is happening is when the webservice is called I get "The content type text/html; charset=UTF-8 of the response message does not match the content type of the binding (text/xml; charset=utf-8)." Which I know is a common message I get it all the time when developing more complex services. This time however the HTML that follows is the HTML for the page you'd get attempting to visit the service in a browser.

I am hesitant think it's an issue in code as I run 4 copies of this site for multiple users and at least one of them is successfully using the service and they are all on the same release.

Note: I get the same response calling it from SoapUI and directly from code as it's called on all other sites and has been called for 5+yrs.

Any direction would be appreciated.

No comments:

Post a Comment