小编Vit*_*SFT的帖子

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

我正在维护一个使用大量 WCF 服务的大型项目,当某些用户登录该网站时,他们会收到此错误

The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: ' '.
Run Code Online (Sandbox Code Playgroud)

我不知道这可能是什么原因,也不知道在哪里可以解决它。有任何想法吗?

wcf

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

标签 统计

wcf ×1