Added the possibility of genearting sm, am and registry separately
[sfa.git] / wsdl / sfa.wsdl
1 <?xml version='1.0' encoding='UTF-8'?>
2 <wsdl:definitions xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:tns='http://www.planet-lab.org/geniwrapper/2009/07/sfa.wsdl' xmlns:soapenc='http://schemas.xmlsoap.org/wsdl/soap/encoding' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsdl='http://www.planet-lab.org/geniwrapper/2009/07/schema' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' name='geniwrapper_autogenerated' targetNamespace='http://www.planet-lab.org/geniwrapper/2009/07/sfa.wsdl'>
3   <message name='create_gid_in'>
4     <part type='xsd:string' name='cred'/>
5     <part type='xsd:string' name='hrn'/>
6     <part type='xsdl:Type1' name='uuid'/>
7     <part type='xsd:string' name='pubkey_str'/>
8   </message>
9   <message name='create_gid_out'>
10     <part type='xsd:string' name='returnvalue'/>
11   </message>
12   <portType name='create_gid_port'>
13     <operation name='create_gid'>
14       <input message='tns:create_gid_in' name='create_gid_request'/>
15       <output message='tns:create_gid_out' name='create_gid_response'/>
16     </operation>
17   </portType>
18   <binding type='tns:create_gid_port' name='create_gid_binding'>
19     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
20     <operation name='create_gid'>
21       <soap:operation soapAction='urn:create_gid'/>
22       <input>
23         <soap:body use='encoded' namespace='urn:create_gid' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
24       </input>
25       <output>
26         <soap:body use='encoded' namespace='urn:create_gid' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
27       </output>
28     </operation>
29   </binding>
30   <message name='create_slice_in'>
31     <part type='xsd:string' name='cred'/>
32     <part type='xsd:string' name='hrn'/>
33     <part type='xsd:string' name='rspec'/>
34   </message>
35   <message name='create_slice_out'>
36     <part type='xsd:int' name='returnvalue'/>
37   </message>
38   <portType name='create_slice_port'>
39     <operation name='create_slice'>
40       <input message='tns:create_slice_in' name='create_slice_request'/>
41       <output message='tns:create_slice_out' name='create_slice_response'/>
42     </operation>
43   </portType>
44   <binding type='tns:create_slice_port' name='create_slice_binding'>
45     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
46     <operation name='create_slice'>
47       <soap:operation soapAction='urn:create_slice'/>
48       <input>
49         <soap:body use='encoded' namespace='urn:create_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
50       </input>
51       <output>
52         <soap:body use='encoded' namespace='urn:create_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
53       </output>
54     </operation>
55   </binding>
56   <message name='delete_slice_in'>
57     <part type='xsd:string' name='cred'/>
58     <part type='xsd:string' name='hrn'/>
59   </message>
60   <message name='delete_slice_out'>
61     <part type='xsd:int' name='returnvalue'/>
62   </message>
63   <portType name='delete_slice_port'>
64     <operation name='delete_slice'>
65       <input message='tns:delete_slice_in' name='delete_slice_request'/>
66       <output message='tns:delete_slice_out' name='delete_slice_response'/>
67     </operation>
68   </portType>
69   <binding type='tns:delete_slice_port' name='delete_slice_binding'>
70     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
71     <operation name='delete_slice'>
72       <soap:operation soapAction='urn:delete_slice'/>
73       <input>
74         <soap:body use='encoded' namespace='urn:delete_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
75       </input>
76       <output>
77         <soap:body use='encoded' namespace='urn:delete_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
78       </output>
79     </operation>
80   </binding>
81   <message name='get_credential_in'>
82     <part type='xsdl:Type2' name='cred'/>
83     <part type='xsd:string' name='type'/>
84   </message>
85   <message name='get_credential_out'>
86     <part type='xsd:string' name='returnvalue'/>
87   </message>
88   <portType name='get_credential_port'>
89     <operation name='get_credential'>
90       <input message='tns:get_credential_in' name='get_credential_request'/>
91       <output message='tns:get_credential_out' name='get_credential_response'/>
92     </operation>
93   </portType>
94   <binding type='tns:get_credential_port' name='get_credential_binding'>
95     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
96     <operation name='get_credential'>
97       <soap:operation soapAction='urn:get_credential'/>
98       <input>
99         <soap:body use='encoded' namespace='urn:get_credential' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
100       </input>
101       <output>
102         <soap:body use='encoded' namespace='urn:get_credential' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
103       </output>
104     </operation>
105   </binding>
106   <message name='get_resources_in'>
107     <part type='xsd:string' name='cred'/>
108     <part type='xsdl:Type3' name='hrn'/>
109   </message>
110   <message name='get_resources_out'>
111     <part type='xsd:string' name='returnvalue'/>
112   </message>
113   <portType name='get_resources_port'>
114     <operation name='get_resources'>
115       <input message='tns:get_resources_in' name='get_resources_request'/>
116       <output message='tns:get_resources_out' name='get_resources_response'/>
117     </operation>
118   </portType>
119   <binding type='tns:get_resources_port' name='get_resources_binding'>
120     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
121     <operation name='get_resources'>
122       <soap:operation soapAction='urn:get_resources'/>
123       <input>
124         <soap:body use='encoded' namespace='urn:get_resources' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
125       </input>
126       <output>
127         <soap:body use='encoded' namespace='urn:get_resources' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
128       </output>
129     </operation>
130   </binding>
131   <message name='get_slices_in'>
132     <part type='xsd:string' name='cred'/>
133   </message>
134   <message name='get_slices_out'>
135     <part type='xsdl:Type4' name='returnvalue'/>
136   </message>
137   <portType name='get_slices_port'>
138     <operation name='get_slices'>
139       <input message='tns:get_slices_in' name='get_slices_request'/>
140       <output message='tns:get_slices_out' name='get_slices_response'/>
141     </operation>
142   </portType>
143   <binding type='tns:get_slices_port' name='get_slices_binding'>
144     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
145     <operation name='get_slices'>
146       <soap:operation soapAction='urn:get_slices'/>
147       <input>
148         <soap:body use='encoded' namespace='urn:get_slices' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
149       </input>
150       <output>
151         <soap:body use='encoded' namespace='urn:get_slices' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
152       </output>
153     </operation>
154   </binding>
155   <message name='get_ticket_in'>
156     <part type='xsd:string' name='cred'/>
157     <part type='xsd:string' name='hrn'/>
158     <part type='xsd:string' name='rspec'/>
159   </message>
160   <message name='get_ticket_out'>
161     <part type='xsd:string' name='returnvalue'/>
162   </message>
163   <portType name='get_ticket_port'>
164     <operation name='get_ticket'>
165       <input message='tns:get_ticket_in' name='get_ticket_request'/>
166       <output message='tns:get_ticket_out' name='get_ticket_response'/>
167     </operation>
168   </portType>
169   <binding type='tns:get_ticket_port' name='get_ticket_binding'>
170     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
171     <operation name='get_ticket'>
172       <soap:operation soapAction='urn:get_ticket'/>
173       <input>
174         <soap:body use='encoded' namespace='urn:get_ticket' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
175       </input>
176       <output>
177         <soap:body use='encoded' namespace='urn:get_ticket' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
178       </output>
179     </operation>
180   </binding>
181   <message name='list_in'>
182     <part type='xsd:string' name='cred'/>
183     <part type='xsd:string' name='hrn'/>
184   </message>
185   <message name='list_out'>
186     <part type='xsdl:Type6' name='returnvalue'/>
187   </message>
188   <portType name='list_port'>
189     <operation name='list'>
190       <input message='tns:list_in' name='list_request'/>
191       <output message='tns:list_out' name='list_response'/>
192     </operation>
193   </portType>
194   <binding type='tns:list_port' name='list_binding'>
195     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
196     <operation name='list'>
197       <soap:operation soapAction='urn:list'/>
198       <input>
199         <soap:body use='encoded' namespace='urn:list' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
200       </input>
201       <output>
202         <soap:body use='encoded' namespace='urn:list' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
203       </output>
204     </operation>
205   </binding>
206   <message name='register_in'>
207     <part type='xsd:string' name='cred'/>
208     <part type='xsd:anyType' name='record_dict'/>
209   </message>
210   <message name='register_out'>
211     <part type='xsd:int' name='returnvalue'/>
212   </message>
213   <portType name='register_port'>
214     <operation name='register'>
215       <input message='tns:register_in' name='register_request'/>
216       <output message='tns:register_out' name='register_response'/>
217     </operation>
218   </portType>
219   <binding type='tns:register_port' name='register_binding'>
220     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
221     <operation name='register'>
222       <soap:operation soapAction='urn:register'/>
223       <input>
224         <soap:body use='encoded' namespace='urn:register' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
225       </input>
226       <output>
227         <soap:body use='encoded' namespace='urn:register' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
228       </output>
229     </operation>
230   </binding>
231   <message name='remove_in'>
232     <part type='xsd:string' name='cred'/>
233     <part type='xsd:string' name='type'/>
234     <part type='xsd:string' name='hrn'/>
235   </message>
236   <message name='remove_out'>
237     <part type='xsd:int' name='returnvalue'/>
238   </message>
239   <portType name='remove_port'>
240     <operation name='remove'>
241       <input message='tns:remove_in' name='remove_request'/>
242       <output message='tns:remove_out' name='remove_response'/>
243     </operation>
244   </portType>
245   <binding type='tns:remove_port' name='remove_binding'>
246     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
247     <operation name='remove'>
248       <soap:operation soapAction='urn:remove'/>
249       <input>
250         <soap:body use='encoded' namespace='urn:remove' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
251       </input>
252       <output>
253         <soap:body use='encoded' namespace='urn:remove' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
254       </output>
255     </operation>
256   </binding>
257   <message name='reset_slices_in'>
258     <part type='xsd:string' name='cred'/>
259     <part type='xsd:string' name='hrn'/>
260   </message>
261   <message name='reset_slices_out'>
262     <part type='xsd:int' name='returnvalue'/>
263   </message>
264   <portType name='reset_slices_port'>
265     <operation name='reset_slices'>
266       <input message='tns:reset_slices_in' name='reset_slices_request'/>
267       <output message='tns:reset_slices_out' name='reset_slices_response'/>
268     </operation>
269   </portType>
270   <binding type='tns:reset_slices_port' name='reset_slices_binding'>
271     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
272     <operation name='reset_slices'>
273       <soap:operation soapAction='urn:reset_slices'/>
274       <input>
275         <soap:body use='encoded' namespace='urn:reset_slices' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
276       </input>
277       <output>
278         <soap:body use='encoded' namespace='urn:reset_slices' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
279       </output>
280     </operation>
281   </binding>
282   <message name='resolve_in'>
283     <part type='xsd:string' name='cred'/>
284     <part type='xsd:string' name='hrn'/>
285   </message>
286   <message name='resolve_out'>
287     <part type='xsdl:Type8' name='returnvalue'/>
288   </message>
289   <portType name='resolve_port'>
290     <operation name='resolve'>
291       <input message='tns:resolve_in' name='resolve_request'/>
292       <output message='tns:resolve_out' name='resolve_response'/>
293     </operation>
294   </portType>
295   <binding type='tns:resolve_port' name='resolve_binding'>
296     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
297     <operation name='resolve'>
298       <soap:operation soapAction='urn:resolve'/>
299       <input>
300         <soap:body use='encoded' namespace='urn:resolve' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
301       </input>
302       <output>
303         <soap:body use='encoded' namespace='urn:resolve' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
304       </output>
305     </operation>
306   </binding>
307   <message name='start_slice_in'>
308     <part type='xsd:string' name='cred'/>
309     <part type='xsd:string' name='hrn'/>
310   </message>
311   <message name='start_slice_out'>
312     <part type='xsdl:Type9' name='returnvalue'/>
313   </message>
314   <portType name='start_slice_port'>
315     <operation name='start_slice'>
316       <input message='tns:start_slice_in' name='start_slice_request'/>
317       <output message='tns:start_slice_out' name='start_slice_response'/>
318     </operation>
319   </portType>
320   <binding type='tns:start_slice_port' name='start_slice_binding'>
321     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
322     <operation name='start_slice'>
323       <soap:operation soapAction='urn:start_slice'/>
324       <input>
325         <soap:body use='encoded' namespace='urn:start_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
326       </input>
327       <output>
328         <soap:body use='encoded' namespace='urn:start_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
329       </output>
330     </operation>
331   </binding>
332   <message name='stop_slice_in'>
333     <part type='xsd:string' name='cred'/>
334     <part type='xsd:string' name='hrn'/>
335   </message>
336   <message name='stop_slice_out'>
337     <part type='xsd:int' name='returnvalue'/>
338   </message>
339   <portType name='stop_slice_port'>
340     <operation name='stop_slice'>
341       <input message='tns:stop_slice_in' name='stop_slice_request'/>
342       <output message='tns:stop_slice_out' name='stop_slice_response'/>
343     </operation>
344   </portType>
345   <binding type='tns:stop_slice_port' name='stop_slice_binding'>
346     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
347     <operation name='stop_slice'>
348       <soap:operation soapAction='urn:stop_slice'/>
349       <input>
350         <soap:body use='encoded' namespace='urn:stop_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
351       </input>
352       <output>
353         <soap:body use='encoded' namespace='urn:stop_slice' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
354       </output>
355     </operation>
356   </binding>
357   <message name='update_in'>
358     <part type='xsd:string' name='cred'/>
359     <part type='xsd:anyType' name='record_dict'/>
360   </message>
361   <message name='update_out'>
362     <part type='xsd:int' name='returnvalue'/>
363   </message>
364   <portType name='update_port'>
365     <operation name='update'>
366       <input message='tns:update_in' name='update_request'/>
367       <output message='tns:update_out' name='update_response'/>
368     </operation>
369   </portType>
370   <binding type='tns:update_port' name='update_binding'>
371     <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
372     <operation name='update'>
373       <soap:operation soapAction='urn:update'/>
374       <input>
375         <soap:body use='encoded' namespace='urn:update' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
376       </input>
377       <output>
378         <soap:body use='encoded' namespace='urn:update' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
379       </output>
380     </operation>
381   </binding>
382   <types>
383     <xsd:schema xmlns='http://www.w3.org/2001/XMLSchema' targetNamespace='http://www.planet-lab.org/geniwrapper/2009/07/schema'>
384       <xsd:complexType name='Type1'>
385         <xsd:choice>
386           <element type='xsd:string' name='Unique identifier for new GID (uuid)' minOccurs='0'/>
387         </xsd:choice>
388       </xsd:complexType>
389       <xsd:complexType name='Type2'>
390         <xsd:choice>
391           <element type='xsd:string' name='credential' minOccurs='0'/>
392         </xsd:choice>
393       </xsd:complexType>
394       <xsd:complexType name='Type3'>
395         <xsd:choice>
396           <element type='xsd:string' name='Human readable name (hrn)' minOccurs='0'/>
397         </xsd:choice>
398       </xsd:complexType>
399       <xsd:simpleType name='Type4'>
400         <xsd:list itemType='xsd:string'/>
401       </xsd:simpleType>
402       <xsd:complexType name='Type5'>
403         <xsd:sequence>
404           <xsd:element type='xsd:string' name='gid'/>
405           <xsd:element type='xsd:string' name='hrn'/>
406           <xsd:element type='xsd:string' name='type'/>
407         </xsd:sequence>
408       </xsd:complexType>
409       <xsd:simpleType name='Type6'>
410         <xsd:list itemType='xsdl:Type5'/>
411       </xsd:simpleType>
412       <xsd:complexType name='Type7'>
413         <xsd:sequence>
414           <xsd:element type='xsd:string' name='gid'/>
415           <xsd:element type='xsd:string' name='hrn'/>
416           <xsd:element type='xsd:string' name='type'/>
417         </xsd:sequence>
418       </xsd:complexType>
419       <xsd:simpleType name='Type8'>
420         <xsd:list itemType='xsdl:Type7'/>
421       </xsd:simpleType>
422       <xsd:simpleType name='Type9'>
423         <xsd:list itemType='xsd:int'/>
424       </xsd:simpleType>
425     </xsd:schema>
426   </types>
427   <service name='aggregate'>
428     <port binding='tns:create_slice_binding' name='create_slice_port'>
429       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
430     </port>
431     <port binding='tns:delete_slice_binding' name='delete_slice_port'>
432       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
433     </port>
434     <port binding='tns:get_resources_binding' name='get_resources_port'>
435       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
436     </port>
437     <port binding='tns:get_slices_binding' name='get_slices_port'>
438       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
439     </port>
440     <port binding='tns:reset_slices_binding' name='reset_slices_port'>
441       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
442     </port>
443     <port binding='tns:start_slice_binding' name='start_slice_port'>
444       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
445     </port>
446     <port binding='tns:stop_slice_binding' name='stop_slice_port'>
447       <soap:address location='http://www.planet-lab.org/geniwrapper/aggregate'/>
448     </port>
449   </service>
450   <service name='slicemgr'>
451     <port binding='tns:create_slice_binding' name='create_slice_port'>
452       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
453     </port>
454     <port binding='tns:delete_slice_binding' name='delete_slice_port'>
455       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
456     </port>
457     <port binding='tns:get_resources_binding' name='get_resources_port'>
458       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
459     </port>
460     <port binding='tns:get_slices_binding' name='get_slices_port'>
461       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
462     </port>
463     <port binding='tns:reset_slices_binding' name='reset_slices_port'>
464       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
465     </port>
466     <port binding='tns:start_slice_binding' name='start_slice_port'>
467       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
468     </port>
469     <port binding='tns:stop_slice_binding' name='stop_slice_port'>
470       <soap:address location='http://www.planet-lab.org/geniwrapper/slicemgr'/>
471     </port>
472   </service>
473   <service name='registry'>
474     <port binding='tns:create_gid_binding' name='create_gid_port'>
475       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
476     </port>
477     <port binding='tns:get_credential_binding' name='get_credential_port'>
478       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
479     </port>
480     <port binding='tns:get_ticket_binding' name='get_ticket_port'>
481       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
482     </port>
483     <port binding='tns:list_binding' name='list_port'>
484       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
485     </port>
486     <port binding='tns:register_binding' name='register_port'>
487       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
488     </port>
489     <port binding='tns:remove_binding' name='remove_port'>
490       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
491     </port>
492     <port binding='tns:resolve_binding' name='resolve_port'>
493       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
494     </port>
495     <port binding='tns:update_binding' name='update_port'>
496       <soap:address location='http://www.planet-lab.org/geniwrapper/registry'/>
497     </port>
498   </service>
499 </wsdl:definitions>