001 package creditReport;
002
003 /**
004 * IRS.jws is a very simple service for use by the CreditReport.jws sample service. IRS simulates a "long-running" procedure by using a timer to delay its asynchronous response. Note that Bank.jws and IRS.jws are identical except for method names and the default duration of the timer timeout.
005 * @jc:location http-url="IRS.jws" jms-url="IRS.jws"
006 * @jc:wsdl file="#IRSWsdl"
007 * @editor-info:link autogen-style="java" source="IRS.jws" autogen="true"
008 */
009 public interface IRSControl extends com.bea.control.ControlExtension, com.bea.control.ServiceControl
010 {
011 public static class StartHeader
012 implements java.io.Serializable
013 {
014 public java.lang.String conversationID;
015 public java.lang.String callbackLocation;
016 }
017
018 public static class ContinueHeader
019 implements java.io.Serializable
020 {
021 public java.lang.String conversationID;
022 }
023
024 public static class CallbackHeader
025 implements java.io.Serializable
026 {
027 public java.lang.String conversationID;
028 }
029
030
031 public interface Callback extends com.bea.control.ServiceControl.Callback
032 {
033 /**
034 * @jc:conversation phase="finish"
035 */
036 public void onDeliverTaxReport (java.lang.String result);
037
038 }
039
040 /**
041 * <p>Starts the asynchronous tax report operation. When it is complete the onDeliverTaxReport callback will be called. If cancelReport is invoked before the results are delivered, results will never be delivered.</p>
042 * @jc:conversation phase="start"
043 */
044 public void requestTaxReport (java.lang.String ssn);
045
046 /**
047 * <p>Cancels the request. The onDeliverTaxReport callback will not be called and the conversation is finished.</p>
048 * @jc:conversation phase="finish"
049 */
050 public void cancelReport ();
051
052 static final long serialVersionUID = 1L;
053 }
054
055 /** @common:define name="IRSWsdl" value::
056 <?xml version="1.0" encoding="utf-8"?>
057 <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://workshop.bea.com/IRS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://workshop.bea.com/IRS">
058 <types>
059 <s:schema elementFormDefault="qualified" targetNamespace="http://workshop.bea.com/IRS" xmlns:s="http://www.w3.org/2001/XMLSchema">
060 <s:element name="onDeliverTaxReportResponse">
061 <s:complexType>
062 <s:sequence/>
063 </s:complexType>
064 </s:element>
065 <s:element name="onDeliverTaxReport">
066 <s:complexType>
067 <s:sequence>
068 <s:element name="result" type="s:string" minOccurs="0"/>
069 </s:sequence>
070 </s:complexType>
071 </s:element>
072 <s:element name="requestTaxReport">
073 <s:complexType>
074 <s:sequence>
075 <s:element name="ssn" type="s:string" minOccurs="0"/>
076 </s:sequence>
077 </s:complexType>
078 </s:element>
079 <s:element name="requestTaxReportResponse">
080 <s:complexType>
081 <s:sequence/>
082 </s:complexType>
083 </s:element>
084 <s:element name="cancelReport">
085 <s:complexType>
086 <s:sequence/>
087 </s:complexType>
088 </s:element>
089 <s:element name="cancelReportResponse">
090 <s:complexType>
091 <s:sequence/>
092 </s:complexType>
093 </s:element>
094 </s:schema>
095
096 <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/2002/04/soap/conversation/">
097 <s:element name="StartHeader" type="conv:StartHeader"/>
098 <s:element name="ContinueHeader" type="conv:ContinueHeader"/>
099 <s:element name="CallbackHeader" type="conv:CallbackHeader"/>
100 <s:complexType name="StartHeader">
101 <s:sequence>
102 <s:element minOccurs="0" maxOccurs="1" name="conversationID" type="s:string"/>
103 <s:element minOccurs="0" maxOccurs="1" name="callbackLocation" type="s:string"/>
104 </s:sequence>
105 </s:complexType>
106 <s:complexType name="ContinueHeader">
107 <s:sequence>
108 <s:element minOccurs="1" maxOccurs="1" name="conversationID" type="s:string"/>
109 </s:sequence>
110 </s:complexType>
111 <s:complexType name="CallbackHeader">
112 <s:sequence>
113 <s:element minOccurs="1" maxOccurs="1" name="conversationID" type="s:string"/>
114 </s:sequence>
115 </s:complexType>
116 </s:schema>
117 </types>
118 <message name="onDeliverTaxReportSoapIn">
119 <part name="parameters" element="s0:onDeliverTaxReportResponse"/>
120 </message>
121 <message name="onDeliverTaxReportSoapOut">
122 <part name="parameters" element="s0:onDeliverTaxReport"/>
123 </message>
124 <message name="requestTaxReportSoapIn">
125 <part name="parameters" element="s0:requestTaxReport"/>
126 </message>
127 <message name="requestTaxReportSoapOut">
128 <part name="parameters" element="s0:requestTaxReportResponse"/>
129 </message>
130 <message name="cancelReportSoapIn">
131 <part name="parameters" element="s0:cancelReport"/>
132 </message>
133 <message name="cancelReportSoapOut">
134 <part name="parameters" element="s0:cancelReportResponse"/>
135 </message>
136 <message name="onDeliverTaxReportHttpGetIn"/>
137 <message name="onDeliverTaxReportHttpGetOut">
138 <part name="result" type="s:string"/>
139 </message>
140 <message name="requestTaxReportHttpGetIn">
141 <part name="ssn" type="s:string"/>
142 </message>
143 <message name="requestTaxReportHttpGetOut"/>
144 <message name="cancelReportHttpGetIn"/>
145 <message name="cancelReportHttpGetOut"/>
146 <message name="onDeliverTaxReportHttpPostIn"/>
147 <message name="onDeliverTaxReportHttpPostOut">
148 <part name="result" type="s:string"/>
149 </message>
150 <message name="requestTaxReportHttpPostIn">
151 <part name="ssn" type="s:string"/>
152 </message>
153 <message name="requestTaxReportHttpPostOut"/>
154 <message name="cancelReportHttpPostIn"/>
155 <message name="cancelReportHttpPostOut"/>
156 <message name="StartHeader_literal">
157 <part name="StartHeader" element="conv:StartHeader"/>
158 </message>
159 <message name="ContinueHeader_literal">
160 <part name="ContinueHeader" element="conv:ContinueHeader"/>
161 </message>
162 <message name="CallbackHeader_literal">
163 <part name="CallbackHeader" element="conv:CallbackHeader"/>
164 </message>
165 <portType name="IRSSoap">
166 <operation name="onDeliverTaxReport">
167 <output message="s0:onDeliverTaxReportSoapOut"/>
168 <input message="s0:onDeliverTaxReportSoapIn"/>
169 </operation>
170 <operation name="requestTaxReport">
171 <documentation><p>Starts the asynchronous tax report operation. When it is complete the onDeliverTaxReport callback will be called. If cancelReport is invoked before the results are delivered, results will never be delivered.</p></documentation>
172 <input message="s0:requestTaxReportSoapIn"/>
173 <output message="s0:requestTaxReportSoapOut"/>
174 </operation>
175 <operation name="cancelReport">
176 <documentation><p>Cancels the request. The onDeliverTaxReport callback will not be called and the conversation is finished.</p></documentation>
177 <input message="s0:cancelReportSoapIn"/>
178 <output message="s0:cancelReportSoapOut"/>
179 </operation>
180 </portType>
181 <portType name="IRSHttpGet">
182 <operation name="onDeliverTaxReport">
183 <output message="s0:onDeliverTaxReportHttpGetOut"/>
184 <input message="s0:onDeliverTaxReportHttpGetIn"/>
185 </operation>
186 <operation name="requestTaxReport">
187 <documentation><p>Starts the asynchronous tax report operation. When it is complete the onDeliverTaxReport callback will be called. If cancelReport is invoked before the results are delivered, results will never be delivered.</p></documentation>
188 <input message="s0:requestTaxReportHttpGetIn"/>
189 <output message="s0:requestTaxReportHttpGetOut"/>
190 </operation>
191 <operation name="cancelReport">
192 <documentation><p>Cancels the request. The onDeliverTaxReport callback will not be called and the conversation is finished.</p></documentation>
193 <input message="s0:cancelReportHttpGetIn"/>
194 <output message="s0:cancelReportHttpGetOut"/>
195 </operation>
196 </portType>
197 <portType name="IRSHttpPost">
198 <operation name="onDeliverTaxReport">
199 <output message="s0:onDeliverTaxReportHttpPostOut"/>
200 <input message="s0:onDeliverTaxReportHttpPostIn"/>
201 </operation>
202 <operation name="requestTaxReport">
203 <documentation><p>Starts the asynchronous tax report operation. When it is complete the onDeliverTaxReport callback will be called. If cancelReport is invoked before the results are delivered, results will never be delivered.</p></documentation>
204 <input message="s0:requestTaxReportHttpPostIn"/>
205 <output message="s0:requestTaxReportHttpPostOut"/>
206 </operation>
207 <operation name="cancelReport">
208 <documentation><p>Cancels the request. The onDeliverTaxReport callback will not be called and the conversation is finished.</p></documentation>
209 <input message="s0:cancelReportHttpPostIn"/>
210 <output message="s0:cancelReportHttpPostOut"/>
211 </operation>
212 </portType>
213 <binding name="IRSSoap" type="s0:IRSSoap">
214 <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
215 <operation name="onDeliverTaxReport">
216 <soap:operation soapAction="http://workshop.bea.com/IRS/onDeliverTaxReport" style="document"/>
217 <cw:transition phase="finish"/>
218 <input>
219 <soap:body use="literal"/>
220 </input>
221 <output>
222 <soap:body use="literal"/>
223 <soap:header wsdl:required="true" message="s0:CallbackHeader_literal" part="CallbackHeader" use="literal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
224 </output>
225 </operation>
226 <operation name="requestTaxReport">
227 <soap:operation soapAction="http://workshop.bea.com/IRS/requestTaxReport" style="document"/>
228 <cw:transition phase="start"/>
229 <input>
230 <soap:body use="literal"/>
231 <soap:header wsdl:required="true" message="s0:StartHeader_literal" part="StartHeader" use="literal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
232 </input>
233 <output>
234 <soap:body use="literal"/>
235 </output>
236 </operation>
237 <operation name="cancelReport">
238 <soap:operation soapAction="http://workshop.bea.com/IRS/cancelReport" style="document"/>
239 <cw:transition phase="finish"/>
240 <input>
241 <soap:body use="literal"/>
242 <soap:header wsdl:required="true" message="s0:ContinueHeader_literal" part="ContinueHeader" use="literal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/>
243 </input>
244 <output>
245 <soap:body use="literal"/>
246 </output>
247 </operation>
248 </binding>
249 <binding name="IRSHttpGet" type="s0:IRSHttpGet">
250 <http:binding verb="GET"/>
251 <operation name="onDeliverTaxReport">
252 <http:operation location="/onDeliverTaxReport"/>
253 <cw:transition phase="finish"/>
254 <input>
255 <mime:mimeXml part="Body"/>
256 </input>
257 <output>
258 <http:urlEncoded/>
259 </output>
260 </operation>
261 <operation name="requestTaxReport">
262 <http:operation location="/requestTaxReport"/>
263 <cw:transition phase="start"/>
264 <input>
265 <http:urlEncoded/>
266 </input>
267 <output/>
268 </operation>
269 <operation name="cancelReport">
270 <http:operation location="/cancelReport"/>
271 <cw:transition phase="finish"/>
272 <input>
273 <http:urlEncoded/>
274 </input>
275 <output/>
276 </operation>
277 </binding>
278 <binding name="IRSHttpPost" type="s0:IRSHttpPost">
279 <http:binding verb="POST"/>
280 <operation name="onDeliverTaxReport">
281 <http:operation location="/onDeliverTaxReport"/>
282 <cw:transition phase="finish"/>
283 <input>
284 <mime:mimeXml part="Body"/>
285 </input>
286 <output>
287 <mime:content type="application/x-www-form-urlencoded"/>
288 </output>
289 </operation>
290 <operation name="requestTaxReport">
291 <http:operation location="/requestTaxReport"/>
292 <cw:transition phase="start"/>
293 <input>
294 <mime:content type="application/x-www-form-urlencoded"/>
295 </input>
296 <output/>
297 </operation>
298 <operation name="cancelReport">
299 <http:operation location="/cancelReport"/>
300 <cw:transition phase="finish"/>
301 <input>
302 <mime:content type="application/x-www-form-urlencoded"/>
303 </input>
304 <output/>
305 </operation>
306 </binding>
307 <service name="IRS">
308 <documentation>IRS.jws is a very simple service for use by the CreditReport.jws sample service. IRS simulates a "long-running" procedure by using a timer to delay its asynchronous response. Note that Bank.jws and IRS.jws are identical except for method names and the default duration of the timer timeout.</documentation>
309 <port name="IRSSoap" binding="s0:IRSSoap">
310 <soap:address location="http://localhost:7001/creditReport/IRS.jws"/>
311 </port>
312 <port name="IRSHttpGet" binding="s0:IRSHttpGet">
313 <http:address location="http://localhost:7001/creditReport/IRS.jws"/>
314 </port>
315 <port name="IRSHttpPost" binding="s0:IRSHttpPost">
316 <http:address location="http://localhost:7001/creditReport/IRS.jws"/>
317 </port>
318 </service>
319 </definitions>
320 * ::
321 */
|