Create python soap server based on wsdl

This question has not received enough attention.

The currently accepted answer is good, but its answer is ‘no’. Is there really no reasonably maintained and general solution?

Unfortunately, I don’t think the negative answer is due to lack of attention to the question. There really is no support for WSDL in python. If you want to avoid the complexities of building your own soap envelope from scratch the only thing I can recommend you is building a sample envelope using any of the many soap webservices tools (soapui for instance) and then use it as a template string (I know, horrible) in your python code

UPDATE you could use spyne. It’s a python RPC toolkit that among other protocols supports SOAP. It will create the WSDL for you, but if your objective is implementing the service described by the WSDL you already have then you’ll have to fine tune your spyne service (written in python) until the generated WSDL matches the original

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)