【发布时间】:2013-02-26 07:16:06
【问题描述】:
我想在我的项目中使用实时服务,但是当我尝试添加它的引用时,出现以下错误:
网址为 https://exdev.www.property24.com/Services/P24ListingService19.asmx 的文档未被识别为已知文档类型。 来自每种已知类型的错误消息可能会帮助您解决问题: - 来自“XML Schema”的报告是“W3C XML Schema 的根元素应该是,它的命名空间应该是 'http://www.w3.org/2001/XMLSchema'。”。 - 来自“DISCO 文档”的报告是“无法找到 URL https://exdev.www.property24.com/Services/P24ListingService19.asmx 上的发现文档。”。 - 无法识别文档格式(内容类型为 'application/xhtml+xml; charset=utf-8')。 - 来自“WSDL 文档”的报告是“XML 文档 (3, 2) 中存在错误。”。 - 没想到。 元数据包含无法解析的引用:“https://exdev.www.property24.com/Services/P24ListingService19.asmx”。 元数据包含无法解析的引用:“https://exdev.www.property24.com/Services/P24ListingService19.asmx”。 如果在当前解决方案中定义了服务,请尝试构建解决方案并再次添加服务引用。可以浏览到的Service URL即:https://exdev.www.property24.com/Services/P24ListingService19.asmx
【问题讨论】:
-
您找到解决方案了吗?我有同样的问题。
标签: c# winforms visual-studio-2010 web-services