basic SOAP-Server component
git-svn-id: file:///home/www/usr01/svn/gnuviechadmin/gnuviech.info/gnuviechadmin/trunk@159 a67ec6bc-e5d5-0310-a910-815c51eb3124
This commit is contained in:
parent
05ce34ee29
commit
ef1d1b9694
1 changed files with 11 additions and 0 deletions
11
backend/gvadm/soapserver.py
Normal file
11
backend/gvadm/soapserver.py
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
from SOAPpy import SOAPServer
|
||||||
|
|
||||||
|
def echo(s):
|
||||||
|
return s + s
|
||||||
|
|
||||||
|
server = SOAPServer(("localhost", 8080))
|
||||||
|
server.registerFunction(echo)
|
||||||
|
|
||||||
|
server.serve_forever()
|
Loading…
Reference in a new issue