It would be nice to be able to write something like this:
headers = SimpleXMLElement()
headers.add_child('headername').marshall('attrname', 'attrvalue')
client.call('methodname', headers=headers)
The client code would have this block inside the call method:
if kwargs.has_key('headers'):
header_block = xml_body('soapenv:Header')
for subheader in kwargs['headers'].children():
header_block.import_node(subheader)
Original issue reported on code.google.com by allan.cr...@yougov.com on 6 May 2011 at 3:21
Original issue reported on code.google.com by
allan.cr...@yougov.com
on 6 May 2011 at 3:21