01: package org.objectweb.celtix.systest.jms;
02:
03: import javax.jws.WebService;
04:
05: import org.objectweb.celtix.hello_world_jms.HelloWorldPortType;
06:
07: @WebService(serviceName="HelloWorldService",portName="HelloWorldPort",endpointInterface="org.objectweb.celtix.hello_world_jms.HelloWorldPortType",targetNamespace="http://celtix.objectweb.org/hello_world_jms")
08: public class GreeterImplTwoWayJMS implements HelloWorldPortType {
09:
10: public String greetMe(String me) {
11: System.out.println("Reached here :" + me);
12: return "Hello " + me;
13: }
14:
15: public String sayHi() {
16: return "Bonjour";
17: }
18:
19: public void greetMeOneWay(String requestType) {
20: System.out.println("********* greetMeOneWay: " + requestType);
21: }
22:
23: }
|