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

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


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


  private static void sayHello() {
    JaxWsProxyFactoryBean j = new JaxWsProxyFactoryBean();
    j.setAddress("http://127.0.0.1:8899/g4studio/rpc/webservice/HelloWorldService");
    j.setServiceClass(HelloWorldService.class);
    HelloWorldService hw = (HelloWorldService) j.create();
    System.out.println(hw.sayHello("Lily"));
  }

  private static void queryBalanceInfo() {
     JaxWsProxyFactoryBean j = new JaxWsProxyFactoryBean();
    j.setAddress("http://127.0.0.1:8899/g4studio/rpc/webservice/HelloWorldService");
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.