01: package org.objectweb.celtix.systest.basicRPCLit;
02:
03: import javax.jws.WebService;
04:
05: import org.objectweb.hello_world_rpclit.GreeterRPCLit;
06: import org.objectweb.hello_world_rpclit.types.MyComplexStruct;
07:
08: @WebService(serviceName="SOAPServiceRPCLit",portName="SoapPortRPCLit",endpointInterface="org.objectweb.hello_world_rpclit.GreeterRPCLit")
09: public class GreeterImplRPCLit implements GreeterRPCLit {
10:
11: public String greetMe(String me) {
12: System.out.println("Reached here :" + me);
13: return "Hello " + me;
14: }
15:
16: public String sayHi() {
17: return "Bonjour";
18: }
19:
20: public MyComplexStruct sendReceiveData(MyComplexStruct in) {
21: System.out.println("Received struct with values : Elem1 : "
22: + in.getElem1() + " Elem2 : " + in.getElem2()
23: + " Elem3 : " + in.getElem3() + "\n");
24: return in;
25: }
26: }
|