相关疑难解决方法(0)

内容类型text/html; charset =响应消息的UTF-8与绑定的内容类型不匹配(text/xml; charset = utf-8)

我创建了WCF服务并使用独立应用程序测试WCF客户端.我能够使用Internet Explorer查看此服务,也可以在Visual Studio服务引用中查看.这是错误消息.

"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)."

你能不能指出可能出错的地方?

谢谢.

c# wcf web-services

13
推荐指数
1
解决办法
9万
查看次数

标签 统计

c# ×1

wcf ×1

web-services ×1