01: package demo.hw_https.server;
02:
03: import java.util.logging.Logger;
04: import org.objectweb.hello_world_soap_http.Greeter;
05:
06: @javax.jws.WebService(name="Greeter",serviceName="SOAPService",targetNamespace="http://objectweb.org/hello_world_soap_http",wsdlLocation="file:./wsdl/hello_world.wsdl")
07: public class GreeterImpl implements Greeter {
08:
09: private static final Logger LOG = Logger
10: .getLogger(GreeterImpl.class.getPackage().getName());
11:
12: /* (non-Javadoc)
13: * @see org.objectweb.hello_world_soap_http.Greeter#greetMe(java.lang.String)
14: */
15: public String greetMe(String me) {
16: LOG.info("Executing operation greetMe");
17: System.out.println("Executing operation greetMe");
18: System.out.println("Message received: " + me + "\n");
19: return "Hello " + me;
20: }
21:
22: }
|