1
0
Fork 0
gnuviechadmin-historic/backend/gvadm/soapserver.py

11 lines
175 B
Python
Raw Normal View History

#!/usr/bin/python
from SOAPpy import SOAPServer
def echo(s):
return s + s
server = SOAPServer(("localhost", 8080))
server.registerFunction(echo)
server.serve_forever()