如何在 ZSI、Python 中将 wsse:Security、UsernameToken 标头添加到 SOAP 请求?

发布于 2024-09-05 18:11:46 字数 86 浏览 4 评论 0原文

有没有办法将 wsse:Security, UsernameToken 标头添加到 ZSI、Python 中的 SOAP 请求中?我在网上搜索,但找不到答案。

Is there a way to add the wsse:Security, UsernameToken header to the SOAP requests in ZSI, Python? I searched on the web, but couldn't find an answer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

别把无礼当个性 2024-09-12 18:11:46

经过进一步搜索,我确信并计划使用 suds,https://fedorahosted.org/suds/,它看起来用户友好,功能丰富,并提供了将 UsernameToken 添加到 SOAP 标头的类和方法。

Suds 有关 WS-Security 的文档:https://fedorahosted.org/suds/wiki/Documentation #WS-安全

After searching further, I'm convinced and planning to use suds, https://fedorahosted.org/suds/, which seems to be user-friendly, feature-rich, and provides classes and methods to add the UsernameToken to the SOAP header.

Suds Documentation on WS-Security: https://fedorahosted.org/suds/wiki/Documentation#WS-SECURITY

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