Samples JDK
Greeter.java
1 package org.apache.hello_world_soap_http;
2 
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;
11 
12 /**
13  * This class was generated by Apache CXF 2.3.6
14  * 2016-02-18T23:36:32.490+05:30
15  * Generated source version: 2.3.6
16  *
17  */
18 @WebService(targetNamespace = "http://apache.org/hello_world_soap_http", name = "Greeter")
19 @DataBinding(org.apache.cxf.xmlbeans.XmlBeansDataBinding.class)
20 public interface Greeter {
21 
22  @WebMethod
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")
25  public void pingMe() throws PingMeFault;
26 
27  @WebMethod
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")
33  String requestType
34  );
35 
36  @WebMethod
37  @Oneway
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")
41  String requestType
42  );
43 
44  @WebMethod
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();
49 }