7

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?

2
  • Spyne does not have a wsdl parser as of 2.13. Patches are welcome. Mar 8, 2016 at 12:05
  • 1
    A SOAP framework without the ability to read WSDL files? You must be joking.
    – Jon
    Mar 7, 2018 at 18:22

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.