【问题标题】:Consuming sharepoint 2010 claim-based WCF使用 sharepoint 2010 基于声明的 WCF
【发布时间】:2011-07-15 08:16:42
【问题描述】:

我正在尝试使用基于 WCF 的 Sharepoint 2010 声明。我收到以下错误消息:感谢您的任何建议。

System.ServiceModel.CommunicationException

"响应消息的内容类型 text/html; charset=UTF-8 与绑定的内容类型 (text/xml; charset=utf-8) 不匹配。如果使用自定义编码器,请确保IsContentTypeSupported 方法实现正确。前 1024 b..."

【问题讨论】:

    标签: wcf sharepoint project-server


    【解决方案1】:

    每当您从 Web 服务获取 HTML 时,就意味着您收到一条错误消息。使用 Fiddler 或其他工具查看网络流量,以了解该服务试图告诉您什么。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-26
      • 2012-10-31
      • 2012-06-20
      • 2011-03-02
      相关资源
      最近更新 更多