01: package org.objectweb.celtix.systest.xml_bare;
02:
03: import org.objectweb.hello_world_xml_http.bare.Greeter;
04: import org.objectweb.hello_world_xml_http.bare.types.MyComplexStruct;
05:
06: @javax.jws.WebService(serviceName="XMLService",portName="XMLPort",endpointInterface="org.objectweb.hello_world_xml_http.bare.Greeter")
07: @javax.xml.ws.BindingType(value="http://celtix.objectweb.org/bindings/xmlformat")
08: public class GreeterImpl implements Greeter {
09:
10: public String greetMe(String me) {
11: return "Hello " + me;
12: }
13:
14: public String sayHi() {
15: return "Bonjour";
16: }
17:
18: public MyComplexStruct sendReceiveData(MyComplexStruct in) {
19: return in;
20: }
21: }
|