Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82630 > unrolled thread
| Started by | brice DORA <road01@yahoo.fr> |
|---|---|
| First post | 2014-12-18 01:58 -0800 |
| Last post | 2014-12-24 01:23 -0800 |
| Articles | 5 — 2 participants |
Back to article view | Back to comp.lang.python
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
| From | brice DORA <road01@yahoo.fr> |
|---|---|
| Date | 2014-12-18 01:58 -0800 |
| Subject | how to generate a wsdl file for a web service in python |
| Message-ID | <d2108380-23b1-474b-bcad-1f7b59cbeacf@googlegroups.com> |
hi to all I am new to python and as part of my project I would like to create a SOAP web service. for now I've developed my python file with all the methods of my future web service, but my problem now is how to generate the wsdl file ... my concern may seem to move so bear with me because I am a novice in this field. thank you in advance
[toc] | [next] | [standalone]
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
|---|---|
| Date | 2014-12-18 13:38 +0200 |
| Message-ID | <mailman.17029.1418903147.18130.python-list@python.org> |
| In reply to | #82630 |
On 12/18/14 11:58, brice DORA wrote: > hi to all I am new to python and as part of my project I would like to create a SOAP web service. for now I've developed my python file with all the methods of my future web service, but my problem now is how to generate the wsdl file ... my concern may seem to move so bear with me because I am a novice in this field. thank you in advance Hi, You can use Spyne to generate the wsdl file. http://spyne.io/docs/2.10/manual/02_helloworld.html https://github.com/arskom/spyne/blob/master/examples/helloworld_soap.py There's also soap@python.org for your soap-specific questions. best, burak
[toc] | [prev] | [next] | [standalone]
| From | brice DORA <road01@yahoo.fr> |
|---|---|
| Date | 2014-12-19 02:45 -0800 |
| Message-ID | <ae0c2df6-6486-4a43-82e6-c0f96e5d4a0c@googlegroups.com> |
| In reply to | #82633 |
Le jeudi 18 décembre 2014 11:46:00 UTC, Burak Arslan a écrit : > On 12/18/14 11:58, brice DORA wrote: > > hi to all I am new to python and as part of my project I would like to create a SOAP web service. for now I've developed my python file with all the methods of my future web service, but my problem now is how to generate the wsdl file ... my concern may seem to move so bear with me because I am a novice in this field. thank you in advance > > > Hi, > > You can use Spyne to generate the wsdl file. > > http://spyne.io/docs/2.10/manual/02_helloworld.html > https://github.com/arskom/spyne/blob/master/examples/helloworld_soap.py > > There's also soap@python.org for your soap-specific questions. > > best, > burak okey thanks u but this example use a simple method then in my case 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... i want to create the web service and deploying it from my python file...thanks very much in advance
[toc] | [prev] | [next] | [standalone]
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
|---|---|
| Date | 2014-12-21 14:31 +0200 |
| Message-ID | <mailman.17089.1419165074.18130.python-list@python.org> |
| In reply to | #82664 |
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
[toc] | [prev] | [next] | [standalone]
| From | brice DORA <road01@yahoo.fr> |
|---|---|
| Date | 2014-12-24 01:23 -0800 |
| Message-ID | <39dd8475-1e2d-4bb6-9fca-8bff1ecb4e72@googlegroups.com> |
| In reply to | #82717 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web