关于 "The HTML document does not contain Web service discovery information" 的解决方法
Posted on 2011-06-01 17:21 雨夜孤鹤 阅读(721) 评论(0) 编辑 收藏 举报
当发布 Web Services 的时候,需要使用 Disco.exe 产生 .disco 文件和 .wsdl 文件。如果遇到 The HTML document does not contain Web service discovery information这个异常,通常是因为在MyServices.asmx中的 Class="classname,assemblyname,Version=1.0.0.0,Culture=neutral,PublicKeyToken=6d0b565ab89df693" 里面的 classname前面没有添加命名空间所致。