}
}
public static void execute1(){
String url = "http://localhost:8080/HessianServer/remoting/acrmapi";
HessianProxyFactory proxyFactory = new HessianHttpProxyFactory();
proxyFactory.setConnectTimeout(3000);
proxyFactory.setReadTimeout(3000);
proxyFactory.setHessian2Reply(false);
proxyFactory.setDebug(true);
try {
AcrmApi api=proxyFactory.create(AcrmApi.class, url);
System.out.println(api.login("guxuede", "123"));
//System.out.println(api.getContacts());
//System.out.println(api.uglilyCode("hessian"));
//System.out.println(api.getContacts());
//System.out.println(api.logout());