Package org.g4studio.demo.local.rpc.webservice

Examples of org.g4studio.demo.local.rpc.webservice.HelloWorldService.queryBalanceInfo()


    System.out.println(outString);
  }
 
  private static void queryBalanceInfo(){
    HelloWorldService helloWorldService = (HelloWorldService)SpringBeanLoader.getSpringBean("client_webservice");
    String outString = helloWorldService.queryBalanceInfo("BJLK1000000003900");
    System.out.println(outString);
  }
}
View Full Code Here


  private static void queryBalanceInfo() {
     JaxWsProxyFactoryBean j = new JaxWsProxyFactoryBean();
    j.setAddress("http://127.0.0.1:8899/g4studio/rpc/webservice/HelloWorldService");
    j.setServiceClass(HelloWorldService.class);
    HelloWorldService client = (HelloWorldService) j.create();
    String outXmlString = client.queryBalanceInfo("BJLK1000000003900");
    System.out.println(outXmlString);
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.