new services are registered in wsbuild
[jabaws.git] / webservices / compbio / ws / server / resource / MafftWS_schema1.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <xs:schema version="1.0" targetNamespace="http://msa.data.compbio/01/01/2010/" xmlns:tns="http://msa.data.compbio/01/01/2010/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
3
4   <xs:element name="JobSubmissionException" type="tns:JobSubmissionException"/>
5
6   <xs:element name="LimitExceededException" type="tns:LimitExceededException"/>
7
8   <xs:element name="ResultNotAvailableException" type="tns:ResultNotAvailableException"/>
9
10   <xs:element name="UnsupportedRuntimeException" type="tns:UnsupportedRuntimeException"/>
11
12   <xs:element name="WrongParameterException" type="tns:WrongParameterException"/>
13
14   <xs:element name="align" type="tns:align"/>
15
16   <xs:element name="alignResponse" type="tns:alignResponse"/>
17
18   <xs:element name="cancelJob" type="tns:cancelJob"/>
19
20   <xs:element name="cancelJobResponse" type="tns:cancelJobResponse"/>
21
22   <xs:element name="customAlign" type="tns:customAlign"/>
23
24   <xs:element name="customAlignResponse" type="tns:customAlignResponse"/>
25
26   <xs:element name="getJobStatus" type="tns:getJobStatus"/>
27
28   <xs:element name="getJobStatusResponse" type="tns:getJobStatusResponse"/>
29
30   <xs:element name="getLimit" type="tns:getLimit"/>
31
32   <xs:element name="getLimitResponse" type="tns:getLimitResponse"/>
33
34   <xs:element name="getLimits" type="tns:getLimits"/>
35
36   <xs:element name="getLimitsResponse" type="tns:getLimitsResponse"/>
37
38   <xs:element name="getPresets" type="tns:getPresets"/>
39
40   <xs:element name="getPresetsResponse" type="tns:getPresetsResponse"/>
41
42   <xs:element name="getResult" type="tns:getResult"/>
43
44   <xs:element name="getResultResponse" type="tns:getResultResponse"/>
45
46   <xs:element name="getRunnerOptions" type="tns:getRunnerOptions"/>
47
48   <xs:element name="getRunnerOptionsResponse" type="tns:getRunnerOptionsResponse"/>
49
50   <xs:element name="limits" type="tns:limitsManager"/>
51
52   <xs:element name="presetAlign" type="tns:presetAlign"/>
53
54   <xs:element name="presetAlignResponse" type="tns:presetAlignResponse"/>
55
56   <xs:element name="presets" type="tns:presetManager"/>
57
58   <xs:element name="pullExecStatistics" type="tns:pullExecStatistics"/>
59
60   <xs:element name="pullExecStatisticsResponse" type="tns:pullExecStatisticsResponse"/>
61
62   <xs:element name="runnerConfig" type="tns:runnerConfig"/>
63
64   <xs:complexType name="getJobStatus">
65     <xs:sequence>
66       <xs:element name="jobId" type="xs:string" minOccurs="0"/>
67     </xs:sequence>
68   </xs:complexType>
69
70   <xs:complexType name="getJobStatusResponse">
71     <xs:sequence>
72       <xs:element name="return" type="tns:jobStatus" minOccurs="0"/>
73     </xs:sequence>
74   </xs:complexType>
75
76   <xs:complexType name="getRunnerOptions">
77     <xs:sequence/>
78   </xs:complexType>
79
80   <xs:complexType name="getRunnerOptionsResponse">
81     <xs:sequence>
82       <xs:element name="return" type="tns:runnerConfig" minOccurs="0"/>
83     </xs:sequence>
84   </xs:complexType>
85
86   <xs:complexType name="runnerConfig">
87     <xs:sequence>
88       <xs:element name="options" type="tns:option" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
89       <xs:element name="parameters" type="tns:parameter" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
90       <xs:element name="prmSeparator" type="xs:string" minOccurs="0"/>
91       <xs:element name="runnerClassName" type="xs:string"/>
92     </xs:sequence>
93   </xs:complexType>
94
95   <xs:complexType name="option">
96     <xs:sequence>
97       <xs:element name="description" type="xs:string"/>
98       <xs:element name="optionNames" type="xs:string" maxOccurs="unbounded"/>
99       <xs:element name="name" type="xs:string"/>
100       <xs:element name="furtherDetails" type="xs:anyURI" minOccurs="0"/>
101       <xs:element name="defaultValue" type="xs:string" minOccurs="0"/>
102     </xs:sequence>
103     <xs:attribute name="isRequired" type="xs:boolean" use="required"/>
104   </xs:complexType>
105
106   <xs:complexType name="parameter">
107     <xs:complexContent>
108       <xs:extension base="tns:option">
109         <xs:sequence>
110           <xs:element name="possibleValues" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
111           <xs:element name="validValue" type="tns:valueConstrain" minOccurs="0"/>
112         </xs:sequence>
113       </xs:extension>
114     </xs:complexContent>
115   </xs:complexType>
116
117   <xs:complexType name="valueConstrain">
118     <xs:sequence>
119       <xs:element name="type" type="tns:type"/>
120       <xs:element name="max" type="xs:string" minOccurs="0"/>
121       <xs:element name="min" type="xs:string" minOccurs="0"/>
122     </xs:sequence>
123   </xs:complexType>
124
125   <xs:complexType name="getResult">
126     <xs:sequence>
127       <xs:element name="jobId" type="xs:string" minOccurs="0"/>
128     </xs:sequence>
129   </xs:complexType>
130
131   <xs:complexType name="getResultResponse">
132     <xs:sequence>
133       <xs:element name="return" type="tns:alignment" minOccurs="0"/>
134     </xs:sequence>
135   </xs:complexType>
136
137   <xs:complexType name="alignment" final="extension restriction">
138     <xs:sequence>
139       <xs:element name="metadata" type="tns:alignmentMetadata" minOccurs="0"/>
140       <xs:element name="sequences" type="tns:fastaSequence" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
141     </xs:sequence>
142   </xs:complexType>
143
144   <xs:complexType name="alignmentMetadata">
145     <xs:sequence>
146       <xs:element name="program" type="tns:program" minOccurs="0"/>
147       <xs:element name="gapchar" type="xs:unsignedShort"/>
148     </xs:sequence>
149   </xs:complexType>
150
151   <xs:complexType name="fastaSequence">
152     <xs:sequence>
153       <xs:element name="id" type="xs:string" minOccurs="0"/>
154       <xs:element name="sequence" type="xs:string" minOccurs="0"/>
155     </xs:sequence>
156   </xs:complexType>
157
158   <xs:complexType name="ResultNotAvailableException">
159     <xs:sequence>
160       <xs:element name="message" type="xs:string" minOccurs="0"/>
161     </xs:sequence>
162   </xs:complexType>
163
164   <xs:complexType name="getLimits">
165     <xs:sequence/>
166   </xs:complexType>
167
168   <xs:complexType name="getLimitsResponse">
169     <xs:sequence>
170       <xs:element name="return" type="tns:limitsManager" minOccurs="0"/>
171     </xs:sequence>
172   </xs:complexType>
173
174   <xs:complexType name="limitsManager">
175     <xs:sequence>
176       <xs:element name="runnerClassName" type="xs:string" minOccurs="0"/>
177       <xs:element name="limit" type="tns:limit" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
178     </xs:sequence>
179   </xs:complexType>
180
181   <xs:complexType name="limit">
182     <xs:sequence>
183       <xs:element name="preset" type="xs:string" minOccurs="0"/>
184       <xs:element name="seqNumber" type="xs:int"/>
185       <xs:element name="seqLength" type="xs:int"/>
186     </xs:sequence>
187     <xs:attribute name="isDefault" type="xs:boolean" use="required"/>
188   </xs:complexType>
189
190   <xs:complexType name="getLimit">
191     <xs:sequence>
192       <xs:element name="presetName" type="xs:string" minOccurs="0"/>
193     </xs:sequence>
194   </xs:complexType>
195
196   <xs:complexType name="getLimitResponse">
197     <xs:sequence>
198       <xs:element name="return" type="tns:limit" minOccurs="0"/>
199     </xs:sequence>
200   </xs:complexType>
201
202   <xs:complexType name="getPresets">
203     <xs:sequence/>
204   </xs:complexType>
205
206   <xs:complexType name="getPresetsResponse">
207     <xs:sequence>
208       <xs:element name="return" type="tns:presetManager" minOccurs="0"/>
209     </xs:sequence>
210   </xs:complexType>
211
212   <xs:complexType name="presetManager">
213     <xs:sequence>
214       <xs:element name="runnerClassName" type="xs:string"/>
215       <xs:element name="preset" type="tns:preset" maxOccurs="unbounded"/>
216     </xs:sequence>
217   </xs:complexType>
218
219   <xs:complexType name="preset">
220     <xs:sequence>
221       <xs:element name="name" type="xs:string"/>
222       <xs:element name="description" type="xs:string" minOccurs="0"/>
223       <xs:element name="optlist" minOccurs="0">
224         <xs:complexType>
225           <xs:sequence>
226             <xs:element name="option" type="xs:string" maxOccurs="unbounded"/>
227           </xs:sequence>
228         </xs:complexType>
229       </xs:element>
230     </xs:sequence>
231   </xs:complexType>
232
233   <xs:complexType name="cancelJob">
234     <xs:sequence>
235       <xs:element name="jobId" type="xs:string" minOccurs="0"/>
236     </xs:sequence>
237   </xs:complexType>
238
239   <xs:complexType name="cancelJobResponse">
240     <xs:sequence>
241       <xs:element name="return" type="xs:boolean"/>
242     </xs:sequence>
243   </xs:complexType>
244
245   <xs:complexType name="presetAlign">
246     <xs:sequence>
247       <xs:element name="fastaSequences" type="tns:fastaSequence" minOccurs="0" maxOccurs="unbounded"/>
248       <xs:element name="preset" type="tns:preset" minOccurs="0"/>
249     </xs:sequence>
250   </xs:complexType>
251
252   <xs:complexType name="presetAlignResponse">
253     <xs:sequence>
254       <xs:element name="return" type="xs:string" minOccurs="0"/>
255     </xs:sequence>
256   </xs:complexType>
257
258   <xs:complexType name="UnsupportedRuntimeException">
259     <xs:sequence>
260       <xs:element name="message" type="xs:string" minOccurs="0"/>
261     </xs:sequence>
262   </xs:complexType>
263
264   <xs:complexType name="LimitExceededException">
265     <xs:sequence>
266       <xs:element name="actualNumberofSequences" type="xs:int"/>
267       <xs:element name="message" type="xs:string" minOccurs="0"/>
268       <xs:element name="numberOfSequencesAllowed" type="xs:int"/>
269       <xs:element name="sequenceLenghtActual" type="xs:int"/>
270       <xs:element name="sequenceLenghtAllowed" type="xs:int"/>
271     </xs:sequence>
272   </xs:complexType>
273
274   <xs:complexType name="JobSubmissionException">
275     <xs:sequence>
276       <xs:element name="message" type="xs:string" minOccurs="0"/>
277     </xs:sequence>
278   </xs:complexType>
279
280   <xs:complexType name="WrongParameterException">
281     <xs:sequence>
282       <xs:element name="message" type="xs:string" minOccurs="0"/>
283     </xs:sequence>
284   </xs:complexType>
285
286   <xs:complexType name="pullExecStatistics">
287     <xs:sequence>
288       <xs:element name="jobId" type="xs:string" minOccurs="0"/>
289       <xs:element name="position" type="xs:long"/>
290     </xs:sequence>
291   </xs:complexType>
292
293   <xs:complexType name="pullExecStatisticsResponse">
294     <xs:sequence>
295       <xs:element name="return" type="tns:chunkHolder" minOccurs="0"/>
296     </xs:sequence>
297   </xs:complexType>
298
299   <xs:complexType name="chunkHolder">
300     <xs:sequence>
301       <xs:element name="chunk" type="xs:string" minOccurs="0"/>
302       <xs:element name="position" type="xs:long"/>
303     </xs:sequence>
304   </xs:complexType>
305
306   <xs:complexType name="align">
307     <xs:sequence>
308       <xs:element name="fastaSequences" type="tns:fastaSequence" minOccurs="0" maxOccurs="unbounded"/>
309     </xs:sequence>
310   </xs:complexType>
311
312   <xs:complexType name="alignResponse">
313     <xs:sequence>
314       <xs:element name="return" type="xs:string" minOccurs="0"/>
315     </xs:sequence>
316   </xs:complexType>
317
318   <xs:complexType name="customAlign">
319     <xs:sequence>
320       <xs:element name="fastaSequences" type="tns:fastaSequence" minOccurs="0" maxOccurs="unbounded"/>
321       <xs:element name="options" type="tns:option" minOccurs="0" maxOccurs="unbounded"/>
322     </xs:sequence>
323   </xs:complexType>
324
325   <xs:complexType name="customAlignResponse">
326     <xs:sequence>
327       <xs:element name="return" type="xs:string" minOccurs="0"/>
328     </xs:sequence>
329   </xs:complexType>
330
331   <xs:simpleType name="jobStatus">
332     <xs:restriction base="xs:string">
333       <xs:enumeration value="PENDING"/>
334       <xs:enumeration value="RUNNING"/>
335       <xs:enumeration value="CANCELLED"/>
336       <xs:enumeration value="FINISHED"/>
337       <xs:enumeration value="FAILED"/>
338       <xs:enumeration value="UNDEFINED"/>
339       <xs:enumeration value="STARTED"/>
340       <xs:enumeration value="SUBMITTED"/>
341       <xs:enumeration value="COLLECTED"/>
342     </xs:restriction>
343   </xs:simpleType>
344
345   <xs:simpleType name="type">
346     <xs:restriction base="xs:string">
347       <xs:enumeration value="Integer"/>
348       <xs:enumeration value="Float"/>
349     </xs:restriction>
350   </xs:simpleType>
351
352   <xs:simpleType name="program">
353     <xs:restriction base="xs:string">
354       <xs:enumeration value="CLUSTAL"/>
355       <xs:enumeration value="MAFFT"/>
356       <xs:enumeration value="MUSCLE"/>
357       <xs:enumeration value="Tcoffee"/>
358       <xs:enumeration value="Probcons"/>
359     </xs:restriction>
360   </xs:simpleType>
361 </xs:schema>
362