python 2.7 - Suds Client ignores modification done by plugins into sending method -


i trying use plugin doing modification on sending.

modification done, suds sends soap before modification.

after long search plugin, finish looking suds sources.

into client.py file, send function calls plugins:

 plugins.message.sending(envelope=soapenv) 

but after call soapenv still previous.

as plugins return ctx, patch with

res = plugins.message.sending(envelope=soapenv) soapenv = res.envelope 

and working expected. soapenv string, think python pass value don't how can work without kind of patch.

why need patch ? doing wrong ?

version used:

python 2.7.9 (default, jun 29 2016, 13:08:31) [gcc 4.9.2] on linux2

suds (0.4)

sud should not used, jurko fork better , fix issue


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -