1 package org.objectweb.celtix.systest.xml_bare; 2 3 import org.objectweb.hello_world_xml_http.bare.Greeter; 4 import org.objectweb.hello_world_xml_http.bare.types.MyComplexStruct; 5 6 @javax.jws.WebService(serviceName = "XMLService", 7 portName = "XMLPort", 8 endpointInterface = "org.objectweb.hello_world_xml_http.bare.Greeter") 9 10 @javax.xml.ws.BindingType(value = "http://celtix.objectweb.org/bindings/xmlformat") 11 12 public class GreeterImpl implements Greeter { 13 14 public String greetMe(String me) { 15 return "Hello " + me; 16 } 17 18 public String sayHi() { 19 return "Bonjour"; 20 } 21 22 public MyComplexStruct sendReceiveData(MyComplexStruct in) { 23 return in; 24 } 25 } 26 | Popular Tags |