使用 Web 服务 - WS Security
我即将开发一个 Windows 应用程序,需要使用 Web 服务安全性与 Axis2 Web 服务进行通信 - 所有文档都说,SOAP 安全通信配置为时间戳、签名、加密,并且必须安装我公司的证书在我的密钥库和我即将开发的 SOAP 客户端中,必须信任 Web 服务提供者证书。但从这里我迷失了。
我知道如何使用常规 Web 服务 - 但根据上述信息,我所知道的或所做的一切都不会成功,到目前为止我所知道的是安装 Web 服务增强 3.0。我使用 VS2008/C#。
有谁知道一个好的指南或提供代码示例?
I am about to develop a windows applikation which need to communicate with an Axis2 webservice using Web Service Security - all the documentation says is, that the SOAP security communication is configured to TIMESTAMP, SIGNATURE, ENCRYPT and the the certificate of my company must be installed in my keystore and the SOAP client I am about to develop must trust the webservice-provider certificate. But from here I am lost.
I know how to use a regular webservice - but with the above informations nothing I know of or do will succeed, all I have figured out so far is installing Web Service Enhancement 3.0. Im using VS2008/C#.
Does anyone knows a good guide or provide a code-sample?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是 WSE 3.0 快速入门示例的链接:
WSE 快速入门
如果虽然你使用的是 VS2008,但你应该考虑使用 WCF 构建你的客户端。您无需安装 WSE 3.0,因为安全标准是内置的。下面是一个 WCF 参考,可以帮助您开始了解安全方面的知识:
常见安全方案 ( WCF)
Here's a link to the WSE 3.0 Quick Start Examples:
WSE QuickStarts
If you're using VS2008 though, you should considering building your client using WCF. You won't need to install WSE 3.0 as the security standards are built-in. Here's a WCF reference that should get you started on the security aspect:
Common Security Scenarios (WCF)