Mustaine is a Python implemention of the Hessian 1.0.2 specification, a binary web services protocol. The library currently provides a standard HTTP-based client as well as a general-purpose serialization library. Server support is planned.
Testing against Caucho's reference service:
from mustaine.client import HessianProxy
service = HessianProxy("http://hessian.caucho.com/test/test")
print service.replyDate_1()
Testing against Caucho's reference service:
from twisted.internet import reactor
from mustaine.twclient import AsyncHessianProxy
def cb( arg ):
print arg
service = AsyncHessianProxy( "http://hessian.caucho.com/test/test" )
deferred = service.replyDate_1()
deferred.addBoth( cb )
reactor.run()
Up-to-date sources and documentation can always be found at the mustaine GoogleCode site.