python-soappy

tooper googlenews at tooper.org
Wed Jan 11 08:31:08 EST 2006


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()




More information about the Python-list mailing list