调用web service 遇到的错误

来源:互联网 发布:弓箭手女王升级数据 编辑:程序博客网 时间:2024/06/03 17:53
客户端发现响应内容类型为“text/html; charset=utf-8”,但应为“text/xml”
问题终于解决:
web.config中:
<appSettings>
 <add key="myService.callService" value="
http://localhost:53699/CallWebService/callService.asmx"/>
 </appSettings>
中value值出错,改回正确的地址即可!