1

我将使用 WSE 3.0 的 Web 服务部署到测试服务器。我收到下面的神秘错误。知道这意味着什么以及如何解决吗?提前致谢!

Microsoft.Web.Services3.ResponseProcessingException: WSE910: 响应消息处理过程中发生错误,您可以在内部异常中找到错误。您还可以在 Response 属性中找到响应消息。---> System.Xml.XmlException: 'wsse' 是一个未声明的命名空间。第 1 行,位置 97。在 System.Xml.XmlTextReaderImpl.Throw(String res, String arg, Int32 lineNo, Int32 linePos) 在 System.Xml.XmlTextReaderImpl.LookupNamespace(NodeData 节点的 System.Xml.XmlTextReaderImpl.Throw(Exception e) ) 在 System.Xml.XmlTextReaderImpl.ElementNamespaceLookup() 在 System.Xml.XmlTextReaderImpl.ParseAttributes() 在 System.Xml.XmlTextReaderImpl.ParseElement() 在 System.Xml.XmlTextReaderImpl.ParseElementContent() 在 System.Xml.XmlTextReaderImpl.Read( ) 在 System.Xml.XmlTextReader。

4

3 回答 3

1

我找到了解决方案。由于当我从 Windows 客户端调用 dll 时它正在工作,但从 Web 服务调用时却失败了,我怀疑问题可能与权限有关。我将 Web 服务设置为模拟具有足够权限的用户。有关如何信息,请参阅http://support.microsoft.com/kb/306158 。现在它起作用了。希望这对其他人有帮助,丹

于 2009-11-13T15:19:39.577 回答
0

我遇到了同样的问题,这是服务器和客户端之间日期时间同步的问题。在客户端和服务器中设置相同的时间后,错误已修复。

于 2014-12-03T10:40:57.157 回答
0

System.Xml.XmlException:“wsse”是未声明的命名空间。第 1 行,位置 97。

好吧,如果这个陈述是真的,那么你有错误的命名空间。检查您的解决方案文件以确保它们在 write ns'es 下。

于 2009-11-10T22:33:21.383 回答