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 java.util.concurrent.Future;
022:
023: import javax.jws.Oneway;
024: import javax.jws.WebMethod;
025: import javax.jws.WebParam;
026: import javax.jws.WebParam.Mode;
027: import javax.jws.WebResult;
028: import javax.jws.WebService;
029: import javax.xml.ws.AsyncHandler;
030: import javax.xml.ws.Holder;
031: import javax.xml.ws.RequestWrapper;
032: import javax.xml.ws.Response;
033: import javax.xml.ws.ResponseWrapper;
034:
035: import org.test.proxy.doclitwrapped.FinOpResponse;
036: import org.test.proxy.doclitwrapped.FinancialOperation;
037: import org.test.proxy.doclitwrapped.ReturnType;
038: import org.test.proxy.doclitwrapped.TwoWayHolder;
039:
040: /**
041: * This class was generated by the JAXWS SI.
042: * JAX-WS RI 2.0_01-b15-fcs
043: * Generated source version: 2.0
044: *
045: */
046: @WebService(name="DocLitWrappedProxy",targetNamespace="http://ws.apache.org/axis2/tests")
047: public interface DocLitWrappedProxy {
048:
049: /**
050: *
051: */
052: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
053: @Oneway
054: @RequestWrapper(localName="oneWayVoid",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.OneWayVoid")
055: public void oneWayVoid();
056:
057: /**
058: *
059: * @param onewayStr
060: */
061: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
062: @Oneway
063: @RequestWrapper(localName="oneWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.sei.OneWay")
064: public void oneWay(
065: @WebParam(name="oneway_str",targetNamespace="")
066: String onewayStr);
067:
068: /**
069: *
070: * @param twoWayHolderInt
071: * @param twoWayHolderStr
072: * @return
073: * returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.TwoWayHolder>
074: */
075: @WebMethod(operationName="twoWayHolder",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
076: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
077: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
078: public Response<TwoWayHolder> twoWayHolderAsync(
079: @WebParam(name="twoWayHolder_str",targetNamespace="")
080: String twoWayHolderStr,
081: @WebParam(name="twoWayHolder_int",targetNamespace="")
082: int twoWayHolderInt);
083:
084: /**
085: *
086: * @param twoWayHolderInt
087: * @param asyncHandler
088: * @param twoWayHolderStr
089: * @return
090: * returns java.util.concurrent.Future<? extends java.lang.Object>
091: */
092: @WebMethod(operationName="twoWayHolder",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
093: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
094: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
095: public Future<?> twoWayHolderAsync(
096: @WebParam(name="twoWayHolder_str",targetNamespace="")
097: String twoWayHolderStr,
098: @WebParam(name="twoWayHolder_int",targetNamespace="")
099: int twoWayHolderInt,
100: @WebParam(name="asyncHandler",targetNamespace="")
101: AsyncHandler<TwoWayHolder> asyncHandler);
102:
103: /**
104: *
105: * @param twoWayHolderInt
106: * @param twoWayHolderStr
107: */
108: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
109: @RequestWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
110: @ResponseWrapper(localName="twoWayHolder",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWayHolder")
111: public void twoWayHolder(
112: @WebParam(name="twoWayHolder_str",targetNamespace="",mode=Mode.INOUT)
113: Holder<String> twoWayHolderStr,
114: @WebParam(name="twoWayHolder_int",targetNamespace="",mode=Mode.INOUT)
115: Holder<Integer> twoWayHolderInt);
116:
117: /**
118: *
119: * @param twowayStr
120: * @return
121: * returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.ReturnType>
122: */
123: @WebMethod(operationName="twoWay",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
124: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
125: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.sei.ReturnType")
126: public Response<ReturnType> twoWayAsync(
127: @WebParam(name="twoway_str",targetNamespace="")
128: String twowayStr);
129:
130: /**
131: *
132: * @param twowayStr
133: * @param asyncHandler
134: * @return
135: * returns java.util.concurrent.Future<? extends java.lang.Object>
136: */
137: @WebMethod(operationName="twoWay",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
138: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
139: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
140: public Future<?> twoWayAsync(
141: @WebParam(name="twoway_str",targetNamespace="")
142: String twowayStr,
143: @WebParam(name="asyncHandler",targetNamespace="")
144: AsyncHandler<ReturnType> asyncHandler);
145:
146: /**
147: *
148: * @param twowayStr
149: * @return
150: * returns java.lang.String
151: */
152: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
153: @WebResult(name="return_str",targetNamespace="")
154: @RequestWrapper(localName="twoWay",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.TwoWay")
155: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
156: public String twoWay(
157: @WebParam(name="twoway_str",targetNamespace="")
158: String twowayStr);
159:
160: /**
161: *
162: * @param invokeStr
163: * @return
164: * returns javax.xml.ws.Response<org.apache.axis2.jaxws.proxy.doclitwrapped.sei.ReturnType>
165: */
166: @WebMethod(operationName="invoke",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
167: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
168: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
169: public Response<ReturnType> invokeAsync(
170: @WebParam(name="invoke_str",targetNamespace="")
171: String invokeStr);
172:
173: /**
174: *
175: * @param invokeStr
176: * @param asyncHandler
177: * @return
178: * returns java.util.concurrent.Future<? extends java.lang.Object>
179: */
180: @WebMethod(operationName="invoke",action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
181: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
182: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
183: public Future<?> invokeAsync(
184: @WebParam(name="invoke_str",targetNamespace="")
185: String invokeStr,
186: @WebParam(name="asyncHandler",targetNamespace="")
187: AsyncHandler<ReturnType> asyncHandler);
188:
189: /**
190: *
191: * @param invokeStr
192: * @return
193: * returns java.lang.String
194: */
195: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/twoWayReturn")
196: @WebResult(name="return_str",targetNamespace="")
197: @RequestWrapper(localName="invoke",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.Invoke")
198: @ResponseWrapper(localName="ReturnType",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.ReturnType")
199: public String invoke(
200: @WebParam(name="invoke_str",targetNamespace="")
201: String invokeStr);
202:
203: /**
204: *
205: * @param op
206: * @return
207: * returns javax.xml.ws.Response<org.apache.axis2.proxy.doclitwrapped.sei.FinOpResponse>
208: */
209: @WebMethod(operationName="finOp",action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
210: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
211: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
212: public Response<FinOpResponse> finOpAsync(
213: @WebParam(name="op",targetNamespace="")
214: FinancialOperation op);
215:
216: /**
217: *
218: * @param op
219: * @param asyncHandler
220: * @return
221: * returns java.util.concurrent.Future<? extends java.lang.Object>
222: */
223: @WebMethod(operationName="finOp",action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
224: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
225: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
226: public Future<?> finOpAsync(
227: @WebParam(name="op",targetNamespace="")
228: FinancialOperation op,
229: @WebParam(name="asyncHandler",targetNamespace="")
230: AsyncHandler<FinOpResponse> asyncHandler);
231:
232: /**
233: *
234: * @param op
235: * @return
236: * returns org.apache.axis2.proxy.doclitwrapped.sei.FinancialOperation
237: */
238: @WebMethod(action="http://org.apache.axis2.proxy.doclitwrapped/finOp")
239: @WebResult(name="response",targetNamespace="")
240: @RequestWrapper(localName="finOp",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOp")
241: @ResponseWrapper(localName="finOpResponse",targetNamespace="http://org.apache.axis2.proxy.doclitwrapped",className="org.test.proxy.doclitwrapped.FinOpResponse")
242: public FinancialOperation finOp(
243: @WebParam(name="op",targetNamespace="")
244: FinancialOperation op);
245:
246: }
|