Android上的Hessian库:hessdroid

jopen 12年前

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

项目主页:http://www.open-open.com/lib/view/home/1362214386279