简体   繁体   中英

How to add wsse:Security, UsernameToken header to a SOAP request in ZSI, Python?

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM