arskom/spyne — pull request #247 by fmezas (2013-07-12 02:11:29+00:00)
Title: order of xml elements in wsdl

I'm suggesting to change the order of the xml elements in the wsdl generated by spyne in the following way:

it currently is
<wsdl:definitions...
...
<wsdl:service...
<wsdl:portType...
<wsdl:binding...
</wsdl:definitions>

my change makes it
<wsdl:definitions...
...
<wsdl:portType...
<wsdl:binding...
<wsdl:service...
</wsdl:definitions>

the motivation for the change is that although the xsd for wsdl accepts any order (so there no actual error with the wsdl's currently generated by spyne), some tools seem to (wrongly) be less flexible (in particular SAP webserver client)