sbo
sbo

Reputation: 71

Spyne Soap server with WSDL-file

I'm 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 this

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

is the only way to start a Soap server with Spyne, so does Spyne have the ability to use a WSDL-file to create a Soap server?

Upvotes: 7

Views: 2157

Answers (1)

Fatemeh Rostami
Fatemeh Rostami

Reputation: 1095

I don't think so! As it was my question one day, and couldn't find any solution to create a soap server from WSDL file, finally I've started to write codes to generate WDSL file and create a Soap Server. Spyne documentation was very helpful for me, I extremely recommend it.

Upvotes: 2

Related Questions