Package com.caucho.hessian.client

Examples of com.caucho.hessian.client.HessianHttpProxyFactory$HessianHttpProxy


    }
  }
 
  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());
View Full Code Here

TOP

Related Classes of com.caucho.hessian.client.HessianHttpProxyFactory$HessianHttpProxy

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.