python-zeep
python-zeep copied to clipboard
Missing mustUnderstand="1"
I'm using zeep 4.0.0
And signing soap using:
sign = BinarySignature('/etc/pki/tls/certs/xxxx.pem', '/etc/pki/tls/certs/xxxx.pem') session = Session() session.cert = '/etc/pki/tls/certs/xxxx.pem' transport = Transport(session=session) client = Client('http://192.168.62.125/init_main.wsdl', wsse=sign, transport=transport) ... ... service.test()
At the end I get this XML:
<soap-env:Envelope xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope"> soap-env:Header <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <Signature ... ... ...
I'm missing soap-env:mustUnderstand="1" in wsse:Security .
Have can I add this. My SOAP server is requesting that.
Hi, Did you found the solution for it? I'm facing the same issue.