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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -