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 <[email protected]> wrote: > I was looking for a way to send nil="true" from the client code. > Something like this: > > <sch:targetName xsi:nil="true" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"/> > > > > 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 <sch:clientOSUser xsi:nil="true" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"/> > ) > > Thanks, > > *Paul Thach | *System Engineer > O: 770.226.0000 ext 4343 > M: 404.259.4573 > > > _______________________________________________ > Soap mailing list > [email protected] > https://mail.python.org/mailman/listinfo/soap > >
_______________________________________________ Soap mailing list [email protected] https://mail.python.org/mailman/listinfo/soap
