Add new operation to the ProteoCache WS
[proteocache.git] / server / compbio / ws / resources / ProteoCacheWS_schema1.xsd
index d9ee154..cf80b4c 100644 (file)
@@ -1,10 +1,32 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
 <xs:schema version="1.0" targetNamespace="http://server.proteocache.ws" xmlns:tns="http://server.proteocache.ws" xmlns:xs="http://www.w3.org/2001/XMLSchema">
 
+  <xs:element name="findJobForSequence" type="tns:findJobForSequence"/>
+
+  <xs:element name="findJobForSequenceResponse" type="tns:findJobForSequenceResponse"/>
+
   <xs:element name="findSequence" type="tns:findSequence"/>
 
   <xs:element name="findSequenceResponse" type="tns:findSequenceResponse"/>
 
+  <xs:element name="getArchive" type="tns:getArchive"/>
+
+  <xs:element name="getArchiveResponse" type="tns:getArchiveResponse"/>
+
+  <xs:complexType name="findJobForSequence">
+    <xs:sequence>
+      <xs:element name="sequence" type="xs:string" minOccurs="0"/>
+      <xs:element name="program" type="xs:string" minOccurs="0"/>
+      <xs:element name="version" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="findJobForSequenceResponse">
+    <xs:sequence>
+      <xs:element name="return" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
   <xs:complexType name="findSequence">
     <xs:sequence>
       <xs:element name="sequence" type="xs:string" minOccurs="0"/>
       <xs:element name="return" type="xs:string" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
+
+  <xs:complexType name="getArchive">
+    <xs:sequence>
+      <xs:element name="job" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+
+  <xs:complexType name="getArchiveResponse">
+    <xs:sequence>
+      <xs:element name="return" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
 </xs:schema>