package samples; import javax.ejb.Stateless; import javax.jws.WebService; import javax.xml.ws.WebServiceRef; import javax.xml.namespace.QName; import javax.xml.ws.Service; //! //! chap08catalog @WebService @Stateless public class Hello { @WebServiceRef(value = MyWebService.class, wsdlLocation="http://someplace/myService?wsdl") MyWeb port; public String sayHello(String s) { String webServiceString = port.saySomething(s); return "Hello: " + s + System.getProperty("line.separator") + webServiceString; } } //!