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

Is there a way to add the wsse: Security, UsernameToken header to SOAP requests in ZSI, Python? I searched on the Internet but could not find the answer.

+5
source share
1 answer

After further searching, I am convinced and plan to use suds, https://fedorahosted.org/suds/ , which seems user-friendly and provides classes and methods for adding a UsernameToken to the SOAP header.

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

+4
source

All Articles