On Thu, 2010-12-23 at 08:36 +0200, Johann Spies wrote:
> soappy.

Ahh.  I know that you can set the header using suds with a soaplib
service. try the following example from our test suite:
https://github.com/soaplib/soaplib/blob/master/src/soaplib/test/interop/test_suds.py

 
 def test_echo_in_header(self):
        in_header = self.client.factory.create('InHeader')
        in_header.s = 'a'
        in_header.i = 3
        self.client.set_options(soapheaders=in_header)
        ret = self.client.service.echo_in_header()
        self.client.set_options(soapheaders=None)
        print ret

In this case we have a declared the type 'InHeader' and it has been
published in the wsdl.


_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to