From paul.thach at weather.com Fri Oct 24 20:58:50 2014 From: paul.thach at weather.com (Paul Thach) Date: Fri, 24 Oct 2014 14:58:50 -0400 Subject: [Soap-Python] Client sending nil="true" Message-ID: I was looking for a way to send nil="true" from the client code. Something like this: Here my Connection: client = SoapClient( wsdl="https://localhost/wsdl", trace=True, soap_ns='soapenv', namespace='http://localhost/schema', location='https://localhost/HttpSoap11Endpoint', ns = 'sch') Client Request (need to send an element with attribute and set to nil client.RequestCmd( user=user, password=pasword, # Need to send ) Thanks, *Paul Thach | *System Engineer O: 770.226.0000 ext 4343 M: 404.259.4573 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: E4599955-6065-4367-A664-C1C226E2D3FE[4].png Type: image/png Size: 35884 bytes Desc: not available URL: From reingart at gmail.com Mon Oct 27 18:29:03 2014 From: reingart at gmail.com (Mariano Reingart) Date: Mon, 27 Oct 2014 14:29:03 -0300 Subject: [Soap-Python] Client sending nil="true" In-Reply-To: References: Message-ID: Hello Paul: There was a pending pull request in the pysimplesoap library with a patch to send this kind of nil values in responses: https://github.com/pysimplesoap/pysimplesoap/pull/24 It is merged now, you could download the latest development version from the github repo: https://github.com/pysimplesoap/pysimplesoap https://github.com/pysimplesoap/pysimplesoap/archive/master.zip If you can test it and report if that solves your issue, that would be very helpful. Let us know if we could further help you Best regards Mariano Reingart http://www.sistemasagiles.com.ar http://reingart.blogspot.com On Fri, Oct 24, 2014 at 3:58 PM, Paul Thach wrote: > I was looking for a way to send nil="true" from the client code. > Something like this: > > > > > > Here my Connection: > > client = SoapClient( > wsdl="https://localhost/wsdl", > trace=True, > soap_ns='soapenv', > namespace='http://localhost/schema', > location='https://localhost/HttpSoap11Endpoint', > ns = 'sch') > > Client Request (need to send an element with attribute and set to nil > > client.RequestCmd( > > user=user, > password=pasword, > # Need to send > ) > > Thanks, > > *Paul Thach | *System Engineer > O: 770.226.0000 ext 4343 > M: 404.259.4573 > > > _______________________________________________ > Soap mailing list > Soap at python.org > https://mail.python.org/mailman/listinfo/soap > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: E4599955-6065-4367-A664-C1C226E2D3FE[4].png Type: image/png Size: 35884 bytes Desc: not available URL: