PSICQUIC: psiquic0.02.wsdl

File psiquic0.02.wsdl, 11.3 KB (added by lukasz, 11 years ago)

update: getBetweenList added, fault code added to psiquicFault

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<definitions  xmlns="http://schemas.xmlsoap.org/wsdl/"
4    xmlns:apachesoap="http://xml.apache.org/xml-soap"
5    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
6    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
7
8    xmlns:psq = "http://psi.hupo.org/mi/psiquic"
9    targetNamespace="http://psi.hupo.org/mi/psiquic">
10
11    <types>
12<!--
13    <xsd:schema>
14      <xsd:import namespace="mif"
15                   schemaLocation="MIF25.xsd"/>
16    </xsd:schema>
17-->
18      <xsd:schema elementFormDefault = "qualified"
19        targetNamespace="http://psi.hupo.org/mi/psiquic"
20        xmlns="http://www.w3.org/2001/XMLSchema">
21
22        <!-- types --> 
23
24       <xsd:complexType name="dbRefType">
25        <xsd:sequence>
26          <xsd:element name="db" type="xsd:string" default=""/>
27          <xsd:element name="ac" type="xsd:string" default=""/>
28        </xsd:sequence>
29       </xsd:complexType>
30
31       <xsd:complexType name="interactorRefListType">
32        <xsd:sequence>
33          <xsd:element name="interactorRef" type="psq:dbRefType" minOccurs="1" maxOccurs="ubounded"/>
34        </xsd:sequence>
35       </xsd:complexType>
36
37       <xsd:complexType name="interactionRefListType">
38        <xsd:sequence>
39          <xsd:element name="interactionRef" type="psq:dbRefType" minOccurs="1" maxOccurs="ubounded"/>
40        </xsd:sequence>
41       </xsd:complexType>
42
43        <!-- elements -->
44
45        <xsd:element name="getByInteractorRequest">
46          <xsd:complexType>
47            <xsd:sequence>
48              <xsd:element name="interactorRef" type="psq:dbRefType"/>
49            </xsd:sequence>
50          </xsd:complexType>
51        </xsd:element>
52
53        <xsd:element name="getByInteractorResponse">
54          <xsd:complexType>     
55            <xsd:sequence>                 
56             <xsd:element name="mif" type="xsd:string"/>
57            </xsd:sequence>
58          </xsd:complexType>
59        </xsd:element>
60       
61        <xsd:element name="getByInteractionRequest">
62          <xsd:complexType>
63            <xsd:sequence>
64              <xsd:element name="inteactionRef" type="psq:dbRefType"/>
65            </xsd:sequence>
66          </xsd:complexType>
67        </xsd:element>
68
69        <xsd:element name="getByInteractionResponse">
70          <xsd:complexType>     
71            <xsd:sequence>                 
72             <xsd:element name="mif" type="xsd:string"/>
73            </xsd:sequence>
74          </xsd:complexType>
75        </xsd:element> 
76
77        <xsd:element name="getByInteractorListRequest">
78          <xsd:complexType>
79            <xsd:sequence>
80              <xsd:element name="interactorRefList" type="psq:interactorRefListType"/>
81            </xsd:sequence>
82          </xsd:complexType>
83        </xsd:element>
84
85        <xsd:element name="getByInteractorListResponse">
86          <xsd:complexType>     
87            <xsd:sequence>                 
88             <xsd:element name="mif" type="xsd:string"/>
89            </xsd:sequence>
90          </xsd:complexType>
91        </xsd:element> 
92
93        <xsd:element name="getBetweenListRequest">
94          <xsd:complexType>
95            <xsd:sequence>
96              <xsd:element name="interactorRefList" type="psq:interactorRefListType"/>
97            </xsd:sequence>
98          </xsd:complexType>
99        </xsd:element>
100
101        <xsd:element name="getBetweenListResponse">
102          <xsd:complexType>     
103            <xsd:sequence>                 
104             <xsd:element name="mif" type="xsd:string"/>
105            </xsd:sequence>
106          </xsd:complexType>
107        </xsd:element> 
108
109        <xsd:element name="getByInteractionListRequest">
110          <xsd:complexType>
111            <xsd:sequence>
112              <xsd:element name="inteactionRefList" type="psq:interactionRefListType"/>
113            </xsd:sequence>
114          </xsd:complexType>
115        </xsd:element>
116
117        <xsd:element name="getByInteractionListResponse">
118          <xsd:complexType>     
119            <xsd:sequence>                 
120             <xsd:element name="mif" type="xsd:string"/>
121            </xsd:sequence>
122          </xsd:complexType>
123        </xsd:element> 
124
125        <xsd:element name="getVersionResponse">
126          <xsd:complexType>     
127            <xsd:sequence>                 
128             <xsd:element name="version" type="xsd:string"/>
129            </xsd:sequence>
130          </xsd:complexType>
131        </xsd:element> 
132
133       <!-- faults -->
134
135        <xsd:element name="psiquicFault">
136          <xsd:complexType>
137            <xsd:sequence>
138              <xsd:element name="code" type="xsd:int"/>
139              <xsd:element name="message" type="xsd:string"/>
140            </xsd:sequence>
141          </xsd:complexType>   
142        </xsd:element> 
143   
144      </xsd:schema>
145    </types>
146
147    <!-- MESSAGES -->
148   
149    <message name="getByInteractorRequestMessage">
150      <part name="input" element="psq:getByInteractorRequest"/>
151    </message>
152
153    <message name="getByInteractorResponseMessage">
154      <part name="output" element="psq:getByInteractorResponse"/>
155    </message>
156
157    <message name="getByInteractionRequestMessage">
158      <part name="input" element="psq:getByInteractionRequest"/>
159    </message>
160
161    <message name="getByInteractionResponseMessage">
162      <part name="output" element="psq:getByInteractionResponse"/>
163    </message>
164
165    <message name="getByInteractorListRequestMessage">
166      <part name="input" element="psq:getByInteractorListRequest"/>
167    </message>
168
169    <message name="getByInteractorListResponseMessage">
170      <part name="output" element="psq:getByInteractorListResponse"/>
171    </message>
172
173    <message name="getBetweenListRequestMessage">
174      <part name="input" element="psq:getBetweenListRequest"/>
175    </message>
176
177    <message name="getBetweenListResponseMessage">
178      <part name="output" element="psq:getBetweenListResponse"/>
179    </message>
180
181    <message name="getByInteractionListRequestMessage">
182      <part name="input" element="psq:getByInteractionListRequest"/>
183    </message>
184
185    <message name="getByInteractionListResponseMessage">
186      <part name="output" element="psq:getByInteractionListResponse"/>
187    </message>
188
189    <message name="getVersionResponseMessage">
190      <part name="fault" element="psq:getVersionResponse"/>
191    </message>
192
193    <message name="faultMessage">
194      <part name="fault" element="psq:psiquicFault"/>
195    </message>
196 
197    <!-- Port type (operations) -->
198
199    <portType name="psiquicPortType">
200 
201      <!-- get interactions by interactor ref -->
202
203      <operation name="getByInteractor" parameterOrder="input">
204        <input  name="getByInteractorRequestMessage"    message="psq:getByInteractorRequestMessage"/>
205        <output name="getByInteractorResponseMessage"   message="psq:getByInteractorResponseMessage"/>
206        <fault  name="getByInteractorException"         message="psq:faultMessage"/>
207      </operation>
208       
209      <!-- get interactions by interaction ref -->
210       
211      <operation name="getByInteraction" parameterOrder="input">
212        <input  name="getByInteractionRequestMessage"    message="psq:getByInteractionRequestMessage"/>
213        <output name="getbyInteractionResponseMessage"   message="psq:getByInteractionResponseMessage"/>
214        <fault  name="getByInteractionException"         message="psq:faultMessage"/>
215      </operation>
216
217      <!-- get interactions by interactor ref list -->
218
219      <operation name="getByInteractorList" parameterOrder="input">
220        <input  name="getByInteractorListRequestMessage"    message="psq:getByInteractorListRequestMessage"/>
221        <output name="getByInteractorListResponseMessage"   message="psq:getByInteractorListResponseMessage"/>
222        <fault  name="getByInteractorListException"         message="psq:faultMessage"/>
223      </operation>
224       
225      <!-- get interactions between interactor ref list -->
226
227      <operation name="getBetweenList" parameterOrder="input">
228        <input  name="getBetweenListRequestMessage"    message="psq:getBetweenListRequestMessage"/>
229        <output name="getBetweenListResponseMessage"   message="psq:getBetweenListResponseMessage"/>
230        <fault  name="getBetweenListException"         message="psq:faultMessage"/>
231      </operation>
232       
233      <!-- get interactions by interaction ref list -->
234       
235      <operation name="getByInteractionList" parameterOrder="input">
236        <input  name="getByInteractionListRequestMessage"    message="psq:getByInteractionListRequestMessage"/>
237        <output name="getByInteractionListResponseMessage"   message="psq:getByInteractionListResponseMessage"/>
238        <fault  name="getByInteractionListException"         message="psq:faultMessage"/>
239      </operation>
240
241      <!-- get version -->
242
243      <operation name="getVersion" parameterOrder="input">
244        <output name="getVersionResponseMessage"   message="psq:getVersionResponseMessage"/>
245        <fault  name="getVersionException"         message="psq:faultMessage"/>
246      </operation>
247
248    </portType>
249
250    <!-- BINDING (bind operations) -->
251
252    <binding name="psiquicSoapBinding" type="psq:psiquicPortType">
253      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
254 
255      <operation name="getByInteractor">
256        <soap:operation soapAction="getByInteractor"/>
257        <input>
258          <soap:body use="literal"/>
259        </input> 
260        <output>
261          <soap:body use="literal"/>
262        </output>
263        <fault name="getByInteractorException">   
264          <soap:fault name="getByInteractorException" use="literal"/>
265        </fault>
266      </operation>       
267
268      <operation name="getByInteraction">
269        <soap:operation soapAction="getByInteraction"/>
270        <input>
271          <soap:body use="literal"/>
272        </input> 
273        <output>
274          <soap:body use="literal"/>
275        </output>
276        <fault name="getByInteractionException">   
277          <soap:fault name="getByInteractionException" use="literal"/>
278        </fault>
279      </operation>       
280         
281      <operation name="getByInteractorList">
282        <soap:operation soapAction="getByInteractorList"/>
283        <input>
284          <soap:body use="literal"/>
285        </input> 
286        <output>
287          <soap:body use="literal"/>
288        </output>
289        <fault name="getByInteractorListException">   
290          <soap:fault name="getByInteractorListException" use="literal"/>
291        </fault>
292      </operation>
293
294      <operation name="getBetweenList">
295        <soap:operation soapAction="getBetweenList"/>
296        <input>
297          <soap:body use="literal"/>
298        </input> 
299        <output>
300          <soap:body use="literal"/>
301        </output>
302        <fault name="getBetweenListException">   
303          <soap:fault name="getBetweenListException" use="literal"/>
304        </fault>
305      </operation>
306       
307      <operation name="getByInteractionList">
308        <soap:operation soapAction="getByInteractionList"/>
309        <input>
310          <soap:body use="literal"/>
311        </input> 
312        <output>
313          <soap:body use="literal"/>
314        </output>
315        <fault name="getByInteractionListException">   
316          <soap:fault name="getByInteractionListException" use="literal"/>
317        </fault>
318      </operation>
319
320      <operation name="getVersion">
321        <soap:operation soapAction="getVersion"/>
322        <output>
323          <soap:body use="literal"/>
324        </output>
325        <fault name="getVersionException">   
326          <soap:fault name="getVersionException" use="literal"/>
327        </fault>
328      </operation>
329
330    </binding>
331
332    <!-- SERVICE -->
333    <service name="psiquic">
334      <port name="psiquic" binding="psq:psiquicSoapBinding">
335              <soap:address location="http://psi.hupo.org/mi/services/psiquic"/>
336      </port>
337    </service>
338</definitions>