Package com.pccw.service.iace

Examples of com.pccw.service.iace.IWeibo


        HessianConnectionFactory connFactory=new MyConnectionFactory();
        proxyFactory.setConnectionFactory(connFactory);
        connFactory.setHessianProxyFactory(proxyFactory);

      try {
        IWeibo weibo;
        weibo = (IWeibo) proxyFactory.create(IWeibo.class, url);
        System.out.println(weibo.getContacts());
      } catch (Exception e) {
        System.out.println("Exception:"+ ((InteractionException)e).getTypeId());
        e.printStackTrace();
      }
     
      try {
        IWeibo weibo;
        weibo = (IWeibo) proxyFactory.create(IWeibo.class, url);
        System.out.println(weibo.getContacts());
      } catch (Exception e) {
        System.out.println("Exception:"+ ((InteractionException)e).getTypeId());
        e.printStackTrace();
      }
    }
View Full Code Here

TOP

Related Classes of com.pccw.service.iace.IWeibo

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.