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


    String outString = helloWorldService.sayHello("Lily!");
    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 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"));
  }
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

Related Classes of org.g4studio.demo.local.rpc.webservice.HelloWorldService

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.