PSICQUIC: psiquic0.09.wsdl

File psiquic0.09.wsdl, 10.0 KB (added by baranda, 17 years ago)

Types move to its own schema

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
3             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
4             xmlns:xs="http://www.w3.org/2001/XMLSchema"
5             xmlns:psq="http://psi.hupo.org/mi/psicquic"
6
7             targetNamespace="http://psi.hupo.org/mi/psicquic">
8
9    <types>
10
11        <xs:schema elementFormDefault="qualified">
12
13            <xs:import namespace="http://psi.hupo.org/mi/psicquic"
14                        schemaLocation="psicquic.xsd"/>
15
16        </xs:schema>
17
18    </types>
19
20    <!-- MESSAGES -->
21
22    <message name="getByInteractorRequestMessage">
23        <part name="dbRef" element="psq:getByInteractorRequest"/>
24    </message>
25
26    <message name="getByInteractorResponseMessage">
27        <part name="queryResponse" element="psq:queryResponse"/>
28    </message>
29
30    <message name="getByInteractionRequestMessage">
31        <part name="dbRef" element="psq:getByInteractionRequest"/>
32    </message>
33
34    <message name="getByInteractionResponseMessage">
35      <part name="queryResponse" element="psq:queryResponse"/>
36    </message>
37
38    <message name="getByInteractorListRequestMessage">
39        <part name="dbRefList" element="psq:getByInteractorListRequest"/>
40    </message>
41
42    <message name="getByInteractorListResponseMessage">
43      <part name="queryResponse" element="psq:queryResponse"/>
44    </message>
45
46    <message name="getBetweenListRequestMessage">
47      <part name="dbRefList" element="psq:getBetweenListRequest"/>
48
49    </message>
50
51    <message name="getBetweenListResponseMessage">
52      <part name="queryResponse" element="psq:queryResponse"/>
53    </message>
54
55    <message name="getByInteractionListRequestMessage">
56        <part name="dbRefList" element="psq:getByInteractionListRequest"/>
57    </message>
58
59    <message name="getByInteractionListResponseMessage">
60      <part name="queryResponse" element="psq:queryResponse"/>
61    </message>
62
63    <message name="getByQueryRequestMessage">
64        <part name="query" element="psq:getByQueryStringRequest"/>
65    </message>
66
67    <message name="getByQueryResponseMessage">
68      <part name="queryResponse" element="psq:queryResponse"/>
69    </message>
70
71    <message name="getVersionRequestMessage">
72    </message>
73
74    <message name="getVersionResponseMessage">
75        <part name="output" element="psq:getVersionResponse"/>
76    </message>
77
78    <message name="getSupportedDataTypesRequestMessage">
79    </message>
80
81    <message name="getSupportedDataTypesResponseMessage">
82        <part name="output" element="psq:supportedDataTypes" />
83    </message>
84
85    <message name="psicquicServiceException">
86        <part name="fault" element="psq:psicquicFault"/>
87    </message>
88
89    <!-- Port type (operations) -->
90
91    <portType name="psicquicPortType">
92
93        <!-- get interactions by interactor ref -->
94
95        <operation name="getByInteractor" parameterOrder="dbRef">
96
97            <input name="getByInteractorRequestMessage" message="psq:getByInteractorRequestMessage"/>
98            <output name="getByInteractorResponseMessage" message="psq:getByInteractorResponseMessage"/>
99            <fault name="getByInteractorException" message="psq:psicquicServiceException"/>
100        </operation>
101
102        <!-- get interactions by interaction ref -->
103
104        <operation name="getByInteraction" parameterOrder="dbRef">
105            <input name="getByInteractionRequestMessage" message="psq:getByInteractionRequestMessage"/>
106            <output name="getbyInteractionResponseMessage" message="psq:getByInteractionResponseMessage"/>
107
108            <fault name="getByInteractionException" message="psq:psicquicServiceException"/>
109        </operation>
110
111        <!-- get interactions by interactor ref list -->
112
113        <operation name="getByInteractorList" parameterOrder="dbRefList">
114            <input name="getByInteractorListRequestMessage" message="psq:getByInteractorListRequestMessage"/>
115            <output name="getByInteractorListResponseMessage" message="psq:getByInteractorListResponseMessage"/>
116            <fault name="getByInteractorListException" message="psq:psicquicServiceException"/>
117        </operation>
118
119        <!-- get interactions between interactor ref list -->
120
121        <operation name="getBetweenList" parameterOrder="dbRefList">
122            <input name="getBetweenListRequestMessage" message="psq:getBetweenListRequestMessage"/>
123            <output name="getBetweenListResponseMessage" message="psq:getBetweenListResponseMessage"/>
124            <fault name="getBetweenListException" message="psq:psicquicServiceException"/>
125        </operation>
126
127        <!-- get interactions by interaction ref list -->
128
129        <operation name="getByInteractionList" parameterOrder="dbRefList">
130            <input name="getByInteractionListRequestMessage" message="psq:getByInteractionListRequestMessage"/>
131            <output name="getByInteractionListResponseMessage" message="psq:getByInteractionListResponseMessage"/>
132            <fault name="getByInteractionListException" message="psq:psicquicServiceException"/>
133        </operation>
134
135        <!-- get interactions by query sring -->
136
137        <operation name="getByQuery" parameterOrder="query">
138
139            <input name="getByQueryRequestMessage" message="psq:getByQueryRequestMessage"/>
140            <output name="getByQueryResponseMessage" message="psq:getByQueryResponseMessage"/>
141            <fault name="getByQueryException" message="psq:psicquicServiceException"/>
142        </operation>
143
144        <!-- get version -->
145
146        <operation name="getVersion">
147            <input message="psq:getVersionRequestMessage"/>
148            <output name="getVersionResponseMessage" message="psq:getVersionResponseMessage"/>
149            <fault name="getVersionException" message="psq:psicquicServiceException"/>
150        </operation>
151
152        <!-- get supported data types -->
153
154        <operation name="getSupportedDataTypes">
155            <input message="psq:getSupportedDataTypesRequestMessage"/>
156            <output name="getSupportedDataTypesResponseMessage" message="psq:getSupportedDataTypesResponseMessage"/>
157            <fault name="getSupportedDataTypesException" message="psq:psicquicServiceException"/>
158        </operation>
159
160    </portType>
161
162    <!-- BINDING (bind operations) -->
163
164    <binding name="psicquicSoapBinding" type="psq:psicquicPortType">
165        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
166
167        <operation name="getByInteractor">
168
169            <soap:operation soapAction="getByInteractor"/>
170            <input>
171                <soap:body use="literal"/>
172            </input>
173            <output>
174                <soap:body use="literal"/>
175            </output>
176            <fault name="getByInteractorException">
177                <soap:fault name="getByInteractorException" use="literal"/>
178
179            </fault>
180        </operation>
181
182        <operation name="getByInteraction">
183            <soap:operation soapAction="getByInteraction"/>
184            <input>
185                <soap:body use="literal"/>
186            </input>
187            <output>
188
189                <soap:body use="literal"/>
190            </output>
191            <fault name="getByInteractionException">
192                <soap:fault name="getByInteractionException" use="literal"/>
193            </fault>
194        </operation>
195
196        <operation name="getByInteractorList">
197            <soap:operation soapAction="getByInteractorList"/>
198
199            <input>
200                <soap:body use="literal"/>
201            </input>
202            <output>
203                <soap:body use="literal"/>
204            </output>
205            <fault name="getByInteractorListException">
206                <soap:fault name="getByInteractorListException" use="literal"/>
207            </fault>
208
209        </operation>
210
211        <operation name="getBetweenList">
212            <soap:operation soapAction="getBetweenList"/>
213            <input>
214                <soap:body use="literal"/>
215            </input>
216            <output>
217                <soap:body use="literal"/>
218
219            </output>
220            <fault name="getBetweenListException">
221                <soap:fault name="getBetweenListException" use="literal"/>
222            </fault>
223        </operation>
224
225        <operation name="getByInteractionList">
226            <soap:operation soapAction="getByInteractionList"/>
227            <input>
228
229                <soap:body use="literal"/>
230            </input>
231            <output>
232                <soap:body use="literal"/>
233            </output>
234            <fault name="getByInteractionListException">
235                <soap:fault name="getByInteractionListException" use="literal"/>
236            </fault>
237        </operation>
238
239        <operation name="getByQuery">
240            <soap:operation soapAction="getByQuery"/>
241            <input>
242                <soap:body use="literal"/>
243            </input>
244            <output>
245                <soap:body use="literal"/>
246            </output>
247
248            <fault name="getByQueryException">
249                <soap:fault name="getByQueryException" use="literal"/>
250            </fault>
251        </operation>
252
253        <operation name="getVersion">
254            <soap:operation soapAction="getVersion"/>
255            <input>
256                <soap:body use="literal"/>
257            </input>
258            <output>
259                <soap:body use="literal"/>
260            </output>
261        </operation>
262
263        <operation name="getSupportedDataTypes">
264            <soap:operation soapAction="getSupportedDataTypes"/>
265            <input>
266                <soap:body use="literal"/>
267            </input>
268            <output>
269                <soap:body use="literal"/>
270            </output>
271        </operation>
272
273    </binding>
274
275    <!-- SERVICE -->
276    <service name="psicquic">
277        <port name="psicquic" binding="psq:psicquicSoapBinding">
278            <soap:address location="http://psi.hupo.org/mi/services/psicquic"/>
279        </port>
280    </service>
281</definitions>