1 package org.apache.hello_world_soap_http;
3 import javax.jws.Oneway;
4 import javax.jws.WebMethod;
5 import javax.jws.WebParam;
6 import javax.jws.WebResult;
7 import javax.jws.WebService;
8 import javax.xml.ws.RequestWrapper;
9 import javax.xml.ws.ResponseWrapper;
10 import org.
apache.cxf.annotations.DataBinding;
18 @WebService(targetNamespace =
"http://apache.org/hello_world_soap_http", name =
"Greeter")
19 @DataBinding(
org.
apache.cxf.xmlbeans.XmlBeansDataBinding.class)
23 @RequestWrapper(localName =
"pingMe", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.PingMeDocument")
24 @ResponseWrapper(localName =
"pingMeResponse", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.PingMeResponseDocument")
28 @RequestWrapper(localName =
"greetMe", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.GreetMeDocument")
29 @ResponseWrapper(localName =
"greetMeResponse", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.GreetMeResponseDocument")
30 @WebResult(name =
"responseType", targetNamespace =
"http://apache.org/hello_world_soap_http/types")
31 public String greetMe(
32 @WebParam(name =
"requestType", targetNamespace =
"http://apache.org/hello_world_soap_http/types")
38 @RequestWrapper(localName =
"greetMeOneWay", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument")
39 public void greetMeOneWay(
40 @WebParam(name =
"requestType", targetNamespace =
"http://apache.org/hello_world_soap_http/types")
45 @RequestWrapper(localName =
"sayHi", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.SayHiDocument")
46 @ResponseWrapper(localName =
"sayHiResponse", targetNamespace =
"http://apache.org/hello_world_soap_http/types", className =
"org.apache.helloWorldSoapHttp.types.SayHiResponseDocument")
47 @WebResult(name =
"responseType", targetNamespace =
"http://apache.org/hello_world_soap_http/types")
48 public String sayHi();