Sorry, I sent the mail too soon by mistake.
On 11/28/12 15:59, Burak Arslan wrote:
On 11/28/12 15:41, Svenn Helge Grindhaug wrote:
Hi,
I'm trying spyne and have a question about howto use xsds. I would
like to use
bioxsd (http://bioxsd.org/BioXSD-1.1.xsd) and use BiosequenceRecord as a
return type in one of my methods.
Would I need to redefine the BiosequenceRecord type as a ComplexModel
or is
there some other way of doing it (I have tried different ways without
any
luck).
Unfortunately yes. Spyne does not parse existing schemas. You can use
lxml.objectify to manually parse incoming data from ctx.in_document and
return it by setting ctx.out_document in relevant events. But it'd be a
big big hack.
Or is this out of scope for Spyne?
Not really, XML Schema / WSDL parser patches are welcome.
Best,
Burak
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap