报错如下:
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)
请问可能的原因是什么?
微信里点“发现”,扫一下
二维码便可将本文分享至朋友圈。
WCF服务端返回错误,因此客户端拿到的是text/html
翻译一下。。。
返回的数据类型不对