On the client side : from SOAPpy import SOAPProxy server= SOAPProxy("http://foo.bar.org:8090") print server.Hello("world") On the server side : from SOAPpy import SOAPServer def Hello(name): return "Hello "+name+" !" server= SOAPServer(("localhost",8080)) server.registerFunction(Hello) server.serve_forever()