001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */
019: package org.apache.axis2.jaxws.description;
020:
021: import org.test.proxy.doclitwrapped.FinOpResponse;
022: import org.test.proxy.doclitwrapped.FinancialOperation;
023: import org.test.proxy.doclitwrapped.ReturnType;
024: import org.test.proxy.doclitwrapped.TwoWayHolder;
025:
026: import javax.jws.Oneway;
027: import javax.jws.WebMethod;
028: import javax.jws.WebParam;
029: import javax.jws.WebParam.Mode;
030: import javax.jws.WebResult;
031: import javax.jws.WebService;
032: import javax.xml.ws.AsyncHandler;
033: import javax.xml.ws.Holder;
034: import javax.xml.ws.RequestWrapper;
035: import javax.xml.ws.Response;
036: import javax.xml.ws.ResponseWrapper;
037: import java.util.concurrent.Future;
038:
039: /** This class was generated by the JAXWS SI. JAX-WS RI 2.0_01-b15-fcs Generated source version: 2.0 */
040: @WebService(name="DocLitWrappedProxy",targetNamespace="http://ws.apache.org/axis2/tests")
041: public interface DocLitWrappedProxy {
042:
043: /**
044: *
045: */
046: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
047: @Oneway
048: @RequestWrapper(localName="oneWayVoid",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.OneWayVoid")
049: public void oneWayVoid();
050:
051: /** @param onewayStr */
052: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
053: @Oneway
054: @RequestWrapper(localName="oneWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.sei.OneWay")
055: public void oneWay(
056: @WebParam(name="oneway_str",targetNamespace="")
057: String onewayStr);
058:
059: /**
060: * @param twoWayHolderInt
061: * @param twoWayHolderStr
062: * @return returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.TwoWayHolder>
063: */
064: @WebMethod(operationName="twoWayHolder",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
065: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
066: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
067: public Response<TwoWayHolder> twoWayHolderAsync(
068: @WebParam(name="twoWayHolder_str",targetNamespace="")
069: String twoWayHolderStr,
070: @WebParam(name="twoWayHolder_int",targetNamespace="")
071: int twoWayHolderInt);
072:
073: /**
074: * @param twoWayHolderInt
075: * @param asyncHandler
076: * @param twoWayHolderStr
077: * @return returns java.util.concurrent.Future<? extends java.lang.Object>
078: */
079: @WebMethod(operationName="twoWayHolder",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
080: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
081: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
082: public Future<?> twoWayHolderAsync(
083: @WebParam(name="twoWayHolder_str",targetNamespace="")
084: String twoWayHolderStr,
085: @WebParam(name="twoWayHolder_int",targetNamespace="")
086: int twoWayHolderInt,
087: @WebParam(name="asyncHandler",targetNamespace="")
088: AsyncHandler<TwoWayHolder> asyncHandler);
089:
090: /**
091: * @param twoWayHolderInt
092: * @param twoWayHolderStr
093: */
094: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
095: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
096: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
097: public void twoWayHolder(
098: @WebParam(name="twoWayHolder_str",targetNamespace="",mode=Mode.INOUT)
099: Holder<String> twoWayHolderStr,
100: @WebParam(name="twoWayHolder_int",targetNamespace="",mode=Mode.INOUT)
101: Holder<Integer> twoWayHolderInt);
102:
103: /**
104: * @param twowayStr
105: * @return returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.ReturnType>
106: */
107: @WebMethod(operationName="twoWay",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
108: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
109: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.sei.ReturnType")
110: public Response<ReturnType> twoWayAsync(
111: @WebParam(name="twoway_str",targetNamespace="")
112: String twowayStr);
113:
114: /**
115: * @param twowayStr
116: * @param asyncHandler
117: * @return returns java.util.concurrent.Future<? extends java.lang.Object>
118: */
119: @WebMethod(operationName="twoWay",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
120: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
121: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
122: public Future<?> twoWayAsync(
123: @WebParam(name="twoway_str",targetNamespace="")
124: String twowayStr,
125: @WebParam(name="asyncHandler",targetNamespace="")
126: AsyncHandler<ReturnType> asyncHandler);
127:
128: /**
129: * @param twowayStr
130: * @return returns java.lang.String
131: */
132: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
133: @WebResult(name="return_str",targetNamespace="")
134: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
135: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
136: public String twoWay(
137: @WebParam(name="twoway_str",targetNamespace="")
138: String twowayStr);
139:
140: /**
141: * @param invokeStr
142: * @return returns javax.xml.ws.Response<org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ReturnType>
143: */
144: @WebMethod(operationName="invoke",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
145: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
146: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
147: public Response<ReturnType> invokeAsync(
148: @WebParam(name="invoke_str",targetNamespace="")
149: String invokeStr);
150:
151: /**
152: * @param invokeStr
153: * @param asyncHandler
154: * @return returns java.util.concurrent.Future<? extends java.lang.Object>
155: */
156: @WebMethod(operationName="invoke",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
157: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
158: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
159: public Future<?> invokeAsync(
160: @WebParam(name="invoke_str",targetNamespace="")
161: String invokeStr,
162: @WebParam(name="asyncHandler",targetNamespace="")
163: AsyncHandler<ReturnType> asyncHandler);
164:
165: /**
166: * @param invokeStr
167: * @return returns java.lang.String
168: */
169: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
170: @WebResult(name="return_str",targetNamespace="")
171: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
172: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
173: public String invoke(
174: @WebParam(name="invoke_str",targetNamespace="")
175: String invokeStr);
176:
177: /**
178: * @param op
179: * @return returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.FinOpResponse>
180: */
181: @WebMethod(operationName="finOp",action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
182: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
183: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
184: public Response<FinOpResponse> finOpAsync(
185: @WebParam(name="op",targetNamespace="")
186: FinancialOperation op);
187:
188: /**
189: * @param op
190: * @param asyncHandler
191: * @return returns java.util.concurrent.Future<? extends java.lang.Object>
192: */
193: @WebMethod(operationName="finOp",action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
194: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
195: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
196: public Future<?> finOpAsync(
197: @WebParam(name="op",targetNamespace="")
198: FinancialOperation op,
199: @WebParam(name="asyncHandler",targetNamespace="")
200: AsyncHandler<FinOpResponse> asyncHandler);
201:
202: /**
203: * @param op
204: * @return returns org.apache.axis2.proxy.doclitwrapped.sei.FinancialOperation
205: */
206: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
207: @WebResult(name="response",targetNamespace="")
208: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
209: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
210: public FinancialOperation finOp(
211: @WebParam(name="op",targetNamespace="")
212: FinancialOperation op);
213:
214: }
|