Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82717
| Date | 2014-12-21 14:31 +0200 |
|---|---|
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
| Subject | Re: how to generate a wsdl file for a web service in python |
| References | <d2108380-23b1-474b-bcad-1f7b59cbeacf@googlegroups.com> <mailman.17029.1418903147.18130.python-list@python.org> <ae0c2df6-6486-4a43-82e6-c0f96e5d4a0c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.17089.1419165074.18130.python-list@python.org> (permalink) |
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
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to generate a wsdl file for a web service in python brice DORA <road01@yahoo.fr> - 2014-12-18 01:58 -0800
Re: how to generate a wsdl file for a web service in python Burak Arslan <burak.arslan@arskom.com.tr> - 2014-12-18 13:38 +0200
Re: how to generate a wsdl file for a web service in python brice DORA <road01@yahoo.fr> - 2014-12-19 02:45 -0800
Re: how to generate a wsdl file for a web service in python Burak Arslan <burak.arslan@arskom.com.tr> - 2014-12-21 14:31 +0200
Re: how to generate a wsdl file for a web service in python brice DORA <road01@yahoo.fr> - 2014-12-24 01:23 -0800
csiph-web