On Wed, 20 Jul 2011 19:44:21 +0200 (CEST) [email protected] wrote: > To create a String type with attributes, I think you should use > something like > > class Foo(ComplexModel): > __extends__ = String > attr = XMLAttribute('xs:string') > > This will give the correct definition in the wsdl but you won't be > able to instantiate any object of this class. Moreover, I don't know > how you could set the text of the element. I think there is a lack in > the api for this.
If someone is interested, i made this. Seem to work. https://github.com/tzelen/soaplib/commit/bbf5bb80ed2f8ce56223c2e8b1155840f4254ac1 Regards, T. _______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
