Spyne Soap Server with WSDL File

I am trying to port a Soap server from an old PHP project to Python. Django, to be exact. In PHP you use

$server = new SOAPServer("xyz.wsdl", ....

As far as i know it

app = Application([HelloWorldService], 'spyne.examples.hello.http',
    in_protocol=Soap11(validator='lxml'),
    out_protocol=Soap11(),
)

Is the only way to run a Soap server with Spyne, so that Spyne has the ability to use a WSDL file to create a Soap server?

+4
source share
1 answer

I do not think so! Since it was my question one day and did not find a solution to create a soap server from a WSDL file, I finally started writing codes to create a WDSL file and create a Soap server. The Spyne documentation was very helpful to me, I highly recommend it.

+1
source

All Articles