hessdroid 是 Resin 的 Hessian 二进制远程调用框架在 Android 上的移植版本。非官方。

示例代码:

String webServiceUrl = "https://localhost/testAPI";

HessianProxyFactory proxyFactory = new HessianProxyFactory();
// setting a user/password calls the web service with basic authentication
proxyFactory.setUser("john");
proxyFactory.setPassword("doe");

TestAPI api = (TestAPI) proxyFactory.create(TestAPI.class, webServiceUrl, getClassLoader());

System.out.println(api.saySomething());