PSICQUIC: psiquic0.05.wsdl

File psiquic0.05.wsdl, 12.5 KB (added by baranda, 16 years ago)

Several changes and cleanup. Autogeneration working except for the getVersion

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