Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82717

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <burak.arslan@arskom.com.tr>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'resulting': 0.04; 'subject:file': 0.07; 'python': 0.11; 'burak': 0.16; 'denote': 0.16; 'from:addr:arskom.com.tr': 0.16; 'from:addr:burak.arslan': 0.16; 'from:name:burak arslan': 0.16; 'markers,': 0.16; 'message- id:@arskom.com.tr': 0.16; 'received:arskomhosting.com': 0.16; 'subclass': 0.16; 'wsgi': 0.16; 'subject:python': 0.16; '(you': 0.16; 'wrote:': 0.18; 'server,': 0.19; 'example': 0.22; 'header :User-Agent:1': 0.23; 'example.': 0.24; 'pass': 0.26; 'header:In- Reply-To:1': 0.27; 'to:2**1': 0.27; 'protocols': 0.31; 'file': 0.32; 'class': 0.32; 'probably': 0.32; 'no,': 0.35; 'there': 0.35; 'subject:service': 0.36; 'application': 0.37; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'tell': 0.60; 'charset:windows-1252': 0.65; 'bon': 0.84; 'decorate': 0.84
Date Sun, 21 Dec 2014 14:31:03 +0200
From Burak Arslan <burak.arslan@arskom.com.tr>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version 1.0
To brice DORA <road01@yahoo.fr>, python-list@python.org
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>
In-Reply-To <ae0c2df6-6486-4a43-82e6-c0f96e5d4a0c@googlegroups.com>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.17089.1419165074.18130.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1419165074 news.xs4all.nl 2912 [2001:888:2000:d::a6]:48494
X-Complaints-To abuse@xs4all.nl
X-Received-Bytes 3419
X-Received-Body-CRC 534398570
Xref csiph.com comp.lang.python:82717

Show key headers only | View raw


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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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