AAConWS is working
[jabaws.git] / webservices / compbio / data / msa / Annotation.java
index 45c1a68..fb8436d 100644 (file)
@@ -1,12 +1,15 @@
 package compbio.data.msa;\r
 \r
 import java.security.InvalidParameterException;\r
+import java.util.HashSet;\r
 import java.util.List;\r
 \r
+import javax.jws.WebMethod;\r
 import javax.jws.WebParam;\r
 import javax.jws.WebService;\r
 \r
 import compbio.data.sequence.FastaSequence;\r
+import compbio.data.sequence.Score;\r
 import compbio.metadata.JobSubmissionException;\r
 import compbio.metadata.LimitExceededException;\r
 import compbio.metadata.Option;\r
@@ -59,6 +62,7 @@ public interface Annotation<T> extends JManagement, Metadata<T> {
         *             is throw if the input sequences number or average length\r
         *             exceeds what is defined by the limit\r
         */\r
+       @WebMethod\r
        String analize(\r
                        @WebParam(name = "fastaSequences") List<FastaSequence> sequences)\r
                        throws UnsupportedRuntimeException, LimitExceededException,\r
@@ -102,6 +106,7 @@ public interface Annotation<T> extends JManagement, Metadata<T> {
         *             is throw if the input sequences number or average length\r
         *             exceeds what is defined by the limit\r
         */\r
+       @WebMethod\r
        String customAnalize(\r
                        @WebParam(name = "fastaSequences") List<FastaSequence> sequences,\r
                        @WebParam(name = "options") List<Option<T>> options)\r
@@ -146,6 +151,7 @@ public interface Annotation<T> extends JManagement, Metadata<T> {
         *             is throw if the input sequences number or average length\r
         *             exceeds what is defined by the limit\r
         */\r
+       @WebMethod\r
        String presetAnalize(\r
                        @WebParam(name = "fastaSequences") List<FastaSequence> sequences,\r
                        @WebParam(name = "preset") Preset<T> preset)\r
@@ -169,6 +175,8 @@ public interface Annotation<T> extends JManagement, Metadata<T> {
         *             thrown if jobId is empty or cannot be recognised e.g. in\r
         *             invalid format\r
         */\r
-       String getResult(@WebParam(name = "jobId") String jobId)\r
+       @WebMethod\r
+       HashSet<Score> getConservation(@WebParam(name = "jobId") String jobId)\r
                        throws ResultNotAvailableException;\r
+\r
 }\r