[Soap-Python] Spyne: Dealing with schema reference namespaces OR how to return raw xml to client?

2012-11-14 Thread Joni Kivinen
Hey, I'm trying to get the response from spyne to match up with a set of fixed schemas, and I'm running to a wall trying to deal with referenced elements. As an example, using these two schema files: base.xsd: http://xml.test.org/base"; xmlns:a="http://xml.test.org/addon"; xmlns:b="http:

Re: [Soap-Python] Spyne: Dealing with schema reference namespaces OR how to return raw xml to client?

2012-11-14 Thread burak . arslan
Hi, I will have a look at the namespace issue, but you have two options to work around this problem: 1) use the XmlDocument output protocol. That will let you return arbitrary ComplexModel subclasses as raw Xml. 2) Keep using the soap protocol but use an event to alter the return document aft