我正在尝试消费基于WCF的SharePoint 2010基于索赔。我收到以下错误消息:谢谢您的任何建议。

System.ServiceModel.CommunicationException

“响应消息的内容类型文本/html; charset = utf-8与绑定的内容类型(text/xml; charset; charset = utf-8)。正确实施。第一个1024 B ...”

有帮助吗?

解决方案

每当您从Web服务获得HTML时,这意味着您会收到错误消息。使用提琴手查看网络流量,以查看服务要告诉您的内容。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top