有没有办法将 wsse:Security, UsernameToken header 添加到 ZSI、Python 中的 SOAP 请求?我在网上搜索过,但找不到答案。
最佳答案
进一步搜索后,我确信并计划使用肥皂水,https://fedorahosted.org/suds/ ,它似乎是用户友好的、功能丰富的,并且提供了将 UsernameToken 添加到 SOAP header 的类和方法。
关于 WS-Security 的 Suds 文档:https://fedorahosted.org/suds/wiki/Documentation#WS-SECURITY
关于python - 如何将 wsse :Security, UsernameToken header 添加到 ZSI、Python 中的 SOAP 请求?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3036881/