how to generate a wsdl file for a web service in python

brice DORA road01 at yahoo.fr
Wed Dec 24 04:23:07 EST 2014


Le dimanche 21 décembre 2014 12:31:50 UTC, Burak Arslan a écrit :
> On 12/19/14 12:45, brice DORA wrote:
> > i have already my python file which contains all methods of my web service. so do you give a example or tell me how i can do it...
> 
> No, all you need is there in that example.
> 
> You need to decorate your functions using Spyne's @rpc, denote
> input/output types using Spyne's type markers, wrap it inside a subclass
> of Spyne's ServiceBase, pass the resulting service class to a Spyne
> application setting your input/output protocols (you probably want Soap)
> and pass that application to a transport of your choice (you probably
> want WsgiApplication). If you need a Wsgi server, use CherryPy.
> 
> Bon courage,
> Burak

hi tkanks for your help but i used tornado to create my web service and it worked good and it generate my wsdl file



More information about the Python-list mailing list