华尔街英语 3.0 + C# - Visual Studio 2005
我正在开发一个 .NET 客户端来连接到 AXIS Web 服务,作为其中的一部分,我正在尝试实现所有必需的安全标头。我的开发环境是VS2005,使用的是C#。
我首先下载了soapUI并生成了所有必需的安全标头并开始发送消息,这很有效。所以我知道我需要做什么(签署消息,将其放入 wsse:Security
标头,加密正文并将其发送出去)
所以认为这很简单,我下载了 WSE3 .0 来自 Microsoft 并将其包含在我的项目中。现在它正在生成一些东西,但没有生成我想要的安全标头。具体来说,我需要删除 Web 服务寻址标头(wsa:From、wsa:ReplyTo、wsa:Action)和时间戳(wsu:Timestamp),但我无法在 wse3policycache.config 文件中找到任何特定的配置设置删除它们。
I'm working on a .NET client to connect to an AXIS web service and as a part of this I'm trying to implement all the required security headers. My development environment is VS2005 and I'm using C#.
I've first downloaded soapUI and generated all the required security headers and started sending out messages, which works. So I know what I need to do (Sign the message, put it in wsse:Security
header, encrypt the body and send it out)
So thinking it'd be simple enough, I've downloaded WSE3.0 from Microsoft and included it in my project. Now it's generating something but not with the security headers that I want. Specifically, I need to remove the webservice addressing headers (wsa:From, wsa:ReplyTo, wsa:Action), and the timestamp (wsu:Timestamp) but I'm unable to find any specific config settings in the wse3policycache.config file to remove them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
华尔街英语已经过时了。除非您别无选择,否则不要使用它。
您最好获取 VS2010 Express 或 VS2008 Express 并使用它们进行开发,而不是使用过时的代码,这是仅次于不受支持的最佳选择。例如,WSE 在 VS2008 或 VS2010 内部不支持,而且永远不会。
WSE is obsolete. Do not use it unless you have no other choices at all.
You would do better to get VS2010 Express or VS2008 Express and develop with those, rather than use obsolete code which is the next best thing to unsupported. For instance, WSE has no support inside of VS2008 or VS2010, and never will.