source: vanHelsing/trunk/src/VanHelsing.wsdl@ 863

Last change on this file since 863 was 861, checked in by tobias, on Apr 13, 2010 at 5:48:55 PM

new resource operation and fault messages added

File size: 16.6 KB
RevLine 
[823]1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.dass-it.de/VanHelsing/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="VanHelsing" targetNamespace="http://www.dass-it.de/VanHelsing/">
3 <wsdl:types>
4 <xsd:schema targetNamespace="http://www.dass-it.de/VanHelsing/">
[855]5 <xsd:element name="listResources" type="tns:listResourcesType"></xsd:element>
6 <xsd:element name="listResourcesResponse" type="tns:resourceListType"></xsd:element>
[824]7 <xsd:complexType name="listResourcesType">
[823]8 <xsd:sequence>
[824]9 <xsd:element name="resourceType" type="xsd:string"></xsd:element>
10 <xsd:element name="director" type="xsd:string"></xsd:element>
[823]11 </xsd:sequence>
12 </xsd:complexType>
[824]13 <xsd:complexType name="resourceListType">
14 <xsd:sequence>
[837]15 <xsd:element name="resource" type="tns:ResourceInfo" maxOccurs="unbounded" minOccurs="0"></xsd:element>
[824]16 </xsd:sequence>
[823]17 </xsd:complexType>
18
[824]19 <xsd:complexType name="ResourceInfo">
20 <xsd:sequence>
21 <xsd:element name="resId" type="xsd:int"></xsd:element>
22 <xsd:element name="resType" type="xsd:string"></xsd:element>
23 <xsd:element name="resName" type="xsd:string"></xsd:element>
24 <xsd:element name="director" type="xsd:string"></xsd:element>
25 </xsd:sequence>
26 </xsd:complexType>
[839]27 <xsd:element name="getSimpleResource" type="tns:getResourceType"></xsd:element>
28 <xsd:element name="getSimpleResourceResponse">
29 <xsd:complexType>
30 <xsd:sequence>
31 <xsd:element name="resInfo" type="tns:ResourceInfo"></xsd:element>
32 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
33 </xsd:sequence>
34 </xsd:complexType>
35 </xsd:element>
36
37
38
39 <xsd:complexType name="getResourceType">
40 <xsd:sequence>
41 <xsd:element name="resId" type="xsd:int"></xsd:element>
42 <xsd:element name="director" type="xsd:string"></xsd:element>
43 </xsd:sequence>
44 </xsd:complexType>
[861]45 <xsd:element name="setSimpleResource"
46 type="tns:ResourceInitialization">
[855]47 </xsd:element>
48 <xsd:element name="setSimpleResourceResponse">
49 <xsd:complexType>
50 <xsd:sequence>
51 <xsd:element name="status" type="xsd:string"></xsd:element>
52 </xsd:sequence>
53 </xsd:complexType>
54 </xsd:element>
[861]55 <xsd:element name="deleteResourceFault">
56 <xsd:complexType>
57 <xsd:sequence>
58 <xsd:element name="deleteResourceFault"
59 type="xsd:string">
60 </xsd:element>
61 </xsd:sequence>
62 </xsd:complexType>
63 </xsd:element>
64 <xsd:element name="deleteResourceFault1">
65 <xsd:complexType>
66 <xsd:sequence>
67 <xsd:element name="deleteResourceFault1"
68 type="xsd:string">
69 </xsd:element>
70 </xsd:sequence>
71 </xsd:complexType>
72 </xsd:element>
73 <xsd:element name="invalidId" type="xsd:string"></xsd:element>
74 <xsd:element name="constraintViolation" type="xsd:string"></xsd:element>
75 <xsd:element name="syntaxError" type="xsd:string"></xsd:element>
76
77 <xsd:element name="createSimpleResource" type="tns:ResourceInitialization"></xsd:element>
78
79 <xsd:element name="createSimpleResourceResponse">
80 <xsd:complexType>
81 <xsd:sequence>
82 <xsd:element name="resId" type="xsd:int"></xsd:element>
83 </xsd:sequence>
84 </xsd:complexType>
85 </xsd:element>
86
87 <xsd:complexType name="ResourceInitialization">
88 <xsd:sequence>
89 <xsd:element name="resInfo"
90 type="tns:ResourceInfo">
91 </xsd:element>
92 <xsd:element name="replace" type="xsd:boolean"></xsd:element>
93 <xsd:element name="resAttribute" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
94 </xsd:sequence>
95 </xsd:complexType>
96 <xsd:element name="createSimpleResourceFault">
97 <xsd:complexType>
98 <xsd:sequence>
99 <xsd:element name="createSimpleResourceFault"
100 type="xsd:string">
101 </xsd:element>
102 </xsd:sequence>
103 </xsd:complexType>
104 </xsd:element>
105 <xsd:element name="deleteResource"
106 type="tns:ResourceInfo">
107 </xsd:element>
108 <xsd:element name="setFileSetResource"
109 type="tns:FileSetResource">
110 </xsd:element>
111 <xsd:element name="setFileSetResourceResponse">
112 <xsd:complexType>
113 <xsd:sequence>
114 <xsd:element name="status" type="xsd:string"></xsd:element>
115 </xsd:sequence>
116 </xsd:complexType>
117 </xsd:element>
118 <xsd:element name="createFileSetResource"
119 type="tns:FileSetResource">
120 </xsd:element>
121 <xsd:element name="createFileSetResourceResponse">
122 <xsd:complexType>
123 <xsd:sequence>
124 <xsd:element name="resId" type="xsd:int"></xsd:element>
125 </xsd:sequence>
126 </xsd:complexType>
127 </xsd:element>
128
129 <xsd:complexType name="FileSetResource">
130 <xsd:sequence>
131 <xsd:element name="replace" type="xsd:boolean"></xsd:element>
132 <xsd:element name="parameters"
133 type="tns:ResourceAttributeType" maxOccurs="unbounded"
134 minOccurs="0">
135 </xsd:element>
136 <xsd:element name="options"
137 type="tns:ResourceAttributeType" maxOccurs="unbounded"
138 minOccurs="0">
139 </xsd:element>
140 <xsd:element name="include"
141 type="tns:fileSetInclude">
142 </xsd:element>
143 <xsd:element name="exclude"
144 type="tns:ResourceAttributeType">
145 </xsd:element>
146 </xsd:sequence>
147 </xsd:complexType>
148
149 <xsd:complexType name="ResourceAttributeType">
150 <xsd:sequence>
151 <xsd:element name="key" type="xsd:string"></xsd:element>
152 <xsd:element name="value" type="xsd:string"></xsd:element>
153 </xsd:sequence>
154 </xsd:complexType>
155
156 <xsd:complexType name="fileSetInclude">
157 <xsd:sequence>
158 <xsd:element name="fileList"
159 type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0">
160 </xsd:element>
161 <xsd:element name="options" type="tns:ResourceAttributeType" maxOccurs="unbounded" minOccurs="0"></xsd:element>
162 </xsd:sequence>
163 </xsd:complexType>
164 <xsd:element name="setFileSetResourceFault">
165 <xsd:complexType>
166 <xsd:sequence>
167 <xsd:element name="setFileSetResourceFault"
168 type="xsd:string">
169 </xsd:element>
170 </xsd:sequence>
171 </xsd:complexType>
172 </xsd:element>
173 <xsd:element name="setSimpleResourceFault">
174 <xsd:complexType>
175 <xsd:sequence>
176 <xsd:element name="setSimpleResourceFault"
177 type="xsd:string">
178 </xsd:element>
179 </xsd:sequence>
180 </xsd:complexType>
181 </xsd:element>
182 <xsd:element name="setFileSetResourceFault1">
183 <xsd:complexType>
184 <xsd:sequence>
185 <xsd:element name="setFileSetResourceFault1"
186 type="xsd:string">
187 </xsd:element>
188 </xsd:sequence>
189 </xsd:complexType>
190 </xsd:element>
191 <xsd:element name="createFileSetResourceFault">
192 <xsd:complexType>
193 <xsd:sequence>
194 <xsd:element name="createFileSetResourceFault"
195 type="xsd:string">
196 </xsd:element>
197 </xsd:sequence>
198 </xsd:complexType>
199 </xsd:element>
200 <xsd:element name="setSimpleResourceFault1">
201 <xsd:complexType>
202 <xsd:sequence>
203 <xsd:element name="setSimpleResourceFault1"
204 type="xsd:string">
205 </xsd:element>
206 </xsd:sequence>
207 </xsd:complexType>
208 </xsd:element>
209
[823]210 </xsd:schema>
211 </wsdl:types>
212 <wsdl:message name="listResourcesRequest">
[824]213 <wsdl:part name="resourceType" element="tns:listResources"/>
[823]214 </wsdl:message>
215 <wsdl:message name="listResourcesResponse">
[824]216 <wsdl:part element="tns:listResourcesResponse" name="resultList"/>
[823]217 </wsdl:message>
[839]218 <wsdl:message name="getSimpleResourceRequest">
219 <wsdl:part name="resourceId" element="tns:getSimpleResource"></wsdl:part>
220 </wsdl:message>
221 <wsdl:message name="getSimpleResourceResponse">
222 <wsdl:part name="parameters" element="tns:getSimpleResourceResponse"></wsdl:part>
223 </wsdl:message>
[855]224 <wsdl:message name="setSimpleResourceRequest">
225 <wsdl:part name="newResource" element="tns:setSimpleResource"></wsdl:part>
226 </wsdl:message>
227 <wsdl:message name="setSimpleResourceResponse">
228 <wsdl:part name="setResponse" element="tns:setSimpleResourceResponse"></wsdl:part>
229 </wsdl:message>
[861]230 <wsdl:message name="deleteResourceRequest">
231 <wsdl:part name="resourceId" element="tns:deleteResource"></wsdl:part>
232 </wsdl:message>
233 <wsdl:message name="deleteResourceFault">
234 <wsdl:part name="parameters" element="tns:invalidId"></wsdl:part>
235 </wsdl:message>
236 <wsdl:message name="deleteResourceFault1">
237 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part>
238 </wsdl:message>
239 <wsdl:message name="createSimpleResourceRequest">
240 <wsdl:part name="newResource" element="tns:createSimpleResource"></wsdl:part>
241 </wsdl:message>
242 <wsdl:message name="createSimpleResourceResponse">
243 <wsdl:part name="resourceId" element="tns:createSimpleResourceResponse"></wsdl:part>
244 </wsdl:message>
245 <wsdl:message name="createSimpleResourceFault">
246 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part>
247 </wsdl:message>
248 <wsdl:message name="setFileSetResourceRequest">
249 <wsdl:part name="parameters" element="tns:setFileSetResource"></wsdl:part>
250 </wsdl:message>
251 <wsdl:message name="setFileSetResourceResponse">
252 <wsdl:part name="parameters" element="tns:setFileSetResourceResponse"></wsdl:part>
253 </wsdl:message>
254 <wsdl:message name="createFileSetResourceRequest">
255 <wsdl:part name="parameters" element="tns:createFileSetResource"></wsdl:part>
256 </wsdl:message>
257 <wsdl:message name="createFileSetResourceResponse">
258 <wsdl:part name="parameters" element="tns:createFileSetResourceResponse"></wsdl:part>
259 </wsdl:message>
260 <wsdl:message name="setFileSetResourceFault">
261 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part>
262 </wsdl:message>
263 <wsdl:message name="setSimpleResourceFault">
264 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part>
265 </wsdl:message>
266 <wsdl:message name="setFileSetResourceFault1">
267 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part>
268 </wsdl:message>
269 <wsdl:message name="createFileSetResourceFault">
270 <wsdl:part name="parameters" element="tns:syntaxError"></wsdl:part>
271 </wsdl:message>
272 <wsdl:message name="setSimpleResourceFault1">
273 <wsdl:part name="parameters" element="tns:constraintViolation"></wsdl:part>
274 </wsdl:message>
275
[823]276 <wsdl:portType name="VanHelsing">
277 <wsdl:operation name="listResources">
[824]278 <wsdl:input message="tns:listResourcesRequest"/>
279 <wsdl:output message="tns:listResourcesResponse"/>
[861]280 </wsdl:operation>
[839]281 <wsdl:operation name="getSimpleResource">
282 <wsdl:input message="tns:getSimpleResourceRequest"></wsdl:input>
283 <wsdl:output message="tns:getSimpleResourceResponse"></wsdl:output>
284 </wsdl:operation>
[855]285 <wsdl:operation name="setSimpleResource">
286 <wsdl:input message="tns:setSimpleResourceRequest"></wsdl:input>
287 <wsdl:output message="tns:setSimpleResourceResponse"></wsdl:output>
[861]288 <wsdl:fault name="fault" message="tns:setSimpleResourceFault"></wsdl:fault>
289 <wsdl:fault name="fault1" message="tns:setSimpleResourceFault1"></wsdl:fault>
290 </wsdl:operation>
291 <wsdl:operation name="deleteResource"><wsdl:input message="tns:deleteResourceRequest"></wsdl:input><wsdl:fault name="fault" message="tns:deleteResourceFault"></wsdl:fault><wsdl:fault name="fault1" message="tns:deleteResourceFault1"></wsdl:fault>
292 </wsdl:operation>
293 <wsdl:operation name="createSimpleResource">
294 <wsdl:input message="tns:createSimpleResourceRequest"></wsdl:input>
295 <wsdl:output message="tns:createSimpleResourceResponse"></wsdl:output>
296 <wsdl:fault name="fault" message="tns:createSimpleResourceFault"></wsdl:fault>
297 </wsdl:operation>
298 <wsdl:operation name="setFileSetResource">
299 <wsdl:input message="tns:setFileSetResourceRequest"></wsdl:input>
300 <wsdl:output message="tns:setFileSetResourceResponse"></wsdl:output>
301 <wsdl:fault name="fault" message="tns:setFileSetResourceFault"></wsdl:fault>
302 <wsdl:fault name="fault1" message="tns:setFileSetResourceFault1"></wsdl:fault>
303 </wsdl:operation>
304 <wsdl:operation name="createFileSetResource">
305 <wsdl:input message="tns:createFileSetResourceRequest"></wsdl:input>
306 <wsdl:output message="tns:createFileSetResourceResponse"></wsdl:output>
307 <wsdl:fault name="fault" message="tns:createFileSetResourceFault"></wsdl:fault>
308 </wsdl:operation>
[823]309 </wsdl:portType>
310 <wsdl:binding name="VanHelsingSOAP" type="tns:VanHelsing">
[839]311 <soap:binding style="document"
312 transport="http://schemas.xmlsoap.org/soap/http" />
313 <wsdl:operation name="listResources">
314 <soap:operation
315 soapAction="http://www.dass-it.de/VanHelsing/listResources" />
316 <wsdl:input>
317 <soap:body use="literal" />
318 </wsdl:input>
319 <wsdl:output>
320 <soap:body use="literal" />
321 </wsdl:output>
[861]322
[839]323 </wsdl:operation>
324 <wsdl:operation name="getSimpleResource">
325 <soap:operation
326 soapAction="http://www.dass-it.de/VanHelsing/getResource" />
327 <wsdl:input>
328 <soap:body use="literal" />
329 </wsdl:input>
330 <wsdl:output>
331 <soap:body use="literal" />
332 </wsdl:output>
333 </wsdl:operation>
[855]334 <wsdl:operation name="setSimpleResource">
335 <soap:operation
336 soapAction="http://www.dass-it.de/VanHelsing/setResource" />
337 <wsdl:input>
338 <soap:body use="literal" />
339 </wsdl:input>
340 <wsdl:output>
341 <soap:body use="literal" />
342 </wsdl:output>
[861]343 <wsdl:fault name="fault">
344 <soap:fault use="literal" name="fault" />
345 </wsdl:fault>
346 <wsdl:fault name="fault1">
347 <soap:fault use="literal" name="fault1" />
348 </wsdl:fault>
349 </wsdl:operation>
350 <wsdl:operation name="createSimpleResource">
351 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/createSimpleResource" />
352 <wsdl:input>
353 <soap:body use="literal" />
354 </wsdl:input>
355 <wsdl:output>
356 <soap:body use="literal" />
357 </wsdl:output>
358 <wsdl:fault name="fault">
359 <soap:fault use="literal" name="fault" />
360 </wsdl:fault>
361 </wsdl:operation>
362 <wsdl:operation name="createFileSetResource">
363 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/createFileSetResource" />
364 <wsdl:input>
365 <soap:body use="literal" />
366 </wsdl:input>
367 <wsdl:output>
368 <soap:body use="literal" />
369 </wsdl:output>
370 <wsdl:fault name="fault">
371 <soap:fault use="literal" name="fault" />
372 </wsdl:fault>
373 </wsdl:operation>
374 <wsdl:operation name="setFileSetResource">
375 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/setFileSetResource" />
376 <wsdl:input>
377 <soap:body use="literal" />
378 </wsdl:input>
379 <wsdl:output>
380 <soap:body use="literal" />
381 </wsdl:output>
382 <wsdl:fault name="fault">
383 <soap:fault use="literal" name="fault" />
384 </wsdl:fault>
385 <wsdl:fault name="fault1">
386 <soap:fault use="literal" name="fault1" />
387 </wsdl:fault>
388 </wsdl:operation>
389 <wsdl:operation name="deleteResource">
390 <soap:operation soapAction="http://www.dass-it.de/VanHelsing/deleteResource" />
391 <wsdl:input>
392 <soap:body use="literal" />
393 </wsdl:input>
394 <wsdl:fault name="fault">
395 <soap:fault use="literal" name="fault" />
396 </wsdl:fault>
397 <wsdl:fault name="fault1">
398 <soap:fault use="literal" name="fault1" />
399 </wsdl:fault>
400 </wsdl:operation>
[823]401 </wsdl:binding>
402 <wsdl:service name="VanHelsing">
403 <wsdl:port binding="tns:VanHelsingSOAP" name="VanHelsingSOAP">
[824]404 <soap:address location="http://localhost:8080/"/>
[823]405 </wsdl:port>
406 </wsdl:service>
407</wsdl:definitions>
Note: See TracBrowser for help on using the repository browser.