Hello John,
As for the following exception message:
=======================
"Client found response content type of 'text/html; charset=utf-8', but
expected 'text/xml'."
=======================
it is usually caused by the server-side ASP.NET webservice has encountered
some error and throw out exceptions(not in webservice code, maybe at
initialize time). For such scenario, I suggest you perform the following
tests:
1. Use IE browser to visit the asmx service endpoint directly to see
whether you can view the default webservice description page and the test
page correct. If there is any error at compilation or initializtion time,
it will report error in browser.
2. When use webservice proxy to call the webservice, we can use some trace
tool to capture the SOAP message (request and response) transfered between
the client and server, you may get some useful information in it. The
"Trace Utility" in SOAP toolkit 3.0 is a useful trace tool you can use:
#SOAP Toolkit 3.0
http://www.microsoft.com/downloads/d...0DD-CEEC-4088-
9753-86F052EC8450&displaylang=en
BTW, have you sufficient permission to access the deployment server? If so,
you can check the event log on the server machine to see whether there is
any useful error entry specific to the webservice application.
Please let me know if the above things helps or if you have any new finding.
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.