How can the error 'Client found response content type of 'text/html'.. be interpreted
问题 I'm using C# and connecting to a WebService via an auto-generated C# proxy object. The method I'm calling can be long running, and sometimes times out. I get different errors back, sometimes I get a System.Net.WebException or a System.Web.Services.Protocols.SoapException . These exceptions have properties I can interrogate to find the specific type of error from which I can display a human-friendly version of to the user. But sometimes I just get an InvalidOperationException , and it has the