PSICQUIC: psicquic0.06.wsdl

File psicquic0.06.wsdl, 12.5 KB (added by lukasz, 11 years ago)

getVersion return type fix

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