Take a look at SOAPpy ( http://pywebsvcs.sourceforge.net/ ). This allows you to expose your functions as web methods, but you need to add a line of code (manually) to register your function with the web service. This is pretty easy to do. Also, it does not automatically generate wsdl for you. Here is an example of how to create a web service and set a function:
server = SOAPpy.SOAPServer(("", 8080)) server.registerFunction(self.hello)
source share