PSICQUIC: psiquic0.07.wsdl

File psiquic0.07.wsdl, 11.4 KB (added by baranda, 10 years ago)

Names for the attributes. GetVersion? method not accepting params

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