使用 Web 服务 - WS Security

发布于 2024-08-11 10:51:03 字数 275 浏览 9 评论 0原文

我即将开发一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南风几经秋 2024-08-18 10:51:03

以下是 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)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文