Package org.something.services.hello

Examples of org.something.services.hello.HelloRequest


       
    httpServer.stop();
  }
 
  private void checkHelloServiceSayHello(HelloService helloService) throws HelloFaultMessage {
    HelloRequest request = new HelloRequest();
    request.setToWho("World!");
    HelloResponse response = helloService.sayHello(request);
    assertEquals("Hello World!", response.getGreeting());
  }
View Full Code Here


    HelloResponse response = helloService.sayHello(request);
    assertEquals("Hello World!", response.getGreeting());
  }

  private void checkHelloServiceFault(HelloService helloService) {
    HelloRequest request = new HelloRequest();
    request.setToWho("FAULT");
    try {
      helloService.sayHello(request);
      fail("Should have thrown an Exception");
    }
    catch (HelloFaultMessage exception) {
View Full Code Here

TOP

Related Classes of org.something.services.hello.HelloRequest

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.