Hi,
>> client found response content type of "text/html" but expected "text/xml"
It is usually caused by the server-side web service 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 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 web service proxy to call the web service, we can use fiddler to capture the SOAP message (request and response) transfered between the client and server, you may get some useful information
in it.
Besides, if you have sufficient permission to access the deployment server, then you can check the event log on the server machine to see whether there is any useful error entry specific to the webservice application.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.