python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

How to add additional header along with wsse?

Open johnshang2020 opened this issue 2 years ago • 1 comments

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

johnshang2020 avatar Sep 07 '22 00:09 johnshang2020

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

bgcgarlipp avatar Dec 08 '22 14:12 bgcgarlipp