A fork of https://github.com/Synerty/SOAPpy-py3 This is a working tree till fixes get imported upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
332 B

  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. __docformat__ = 'restructuredtext en'
  4. #!/usr/bin/env python
  5. # encoding:utf-8
  6. from SOAPpy import SOAPServer
  7. def echo(s):
  8. return s # repeats a string twice
  9. server = SOAPServer(("0.0.0.0", 8080))
  10. server.registerFunction(echo)
  11. server.serve_forever()
  12. # vim:set et sts=4 ts=4 tw=80: