On Tuesday 26 October 2010, Gajendra PH elucidated thus:
> Hi,
>
> I am new to SOAP client programming. I want to add wsse security
> header in my SOAP header.
>
> I found that suds is providing this (suds.wsse) but not in SOAP WSDL
> Proxy.
>
> Can any one help me how to do this in SOAP client using soaplib?
>
> security=Security()
> token=UsernameToken(username,password)
> security.tokens.append(token)
> client.set_options(wsse=security)

As Burak mentioned, soaplib does not support WSSE, but another Python 
SOAP client does. Take a look at https://fedorahosted.org/suds/ I can 
verify from first hand experience that its WSSE implementation works 
(at least with the Yahoo Marketing API).

j

-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com - Fairbanks, AK
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to