mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.88k stars 586 forks source link

How to add additional header along with wsse? #1336

Open johnshang2020 opened 2 years ago

johnshang2020 commented 2 years ago

How to add additional header along with wsse. For example.

I have already add line below client = Client(url, wsse=UsernameToken(user, password), plugins=[history])

How to add additional header like X-Validate_only:1 ?

Thanks

bgcgarlipp commented 1 year ago

Did you try adding it to the _soapheaders? https://docs.python-zeep.org/en/master/headers.html