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
