5

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.

Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
Srikanth
  • 11,780
  • 23
  • 72
  • 92

1 Answers1

4

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

Srikanth
  • 11,780
  • 23
  • 72
  • 92
  • 1
    The documentation seems to have expired now. Is there any other link or example to the new googlers like me ? – Bhargav Apr 06 '17 at 22:47