RosesDurden / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

The ns keyword argument must be used also in the method's parameters #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using SoapClient with wsdl, if I specify the ns it has be used not only for the 
called method but also for its parameters, so I have correct these lines.
In client.py lines 179, 180:

for k,v in parameters: # dict: tag=valor
    getattr(request,method).marshall(k,v, ns=self.__ns) #added ns=self.__ns

I don't know if this is correct but it works fine for me. I am trying to do the 
same for headers tags

Original issue reported on code.google.com by gabriele.barchiesi on 4 Dec 2012 at 4:11

GoogleCodeExporter commented 8 years ago
This should be tested with older soap servers, what one are you using?
Could you provide a wsdl, sample xmls and/or testcase?

Original comment by reingart@gmail.com on 14 Jan 2013 at 6:49

GoogleCodeExporter commented 8 years ago
I can provide a sample xml request generated with SoapUI. I cannot provide the 
WSDL because it is reserved (it is an home banking application), the soap 
server is written in Microsoft .Net.

Original comment by gabriele.barchiesi on 15 Jan 2013 at 11:00

Attachments: