From 5f8278b40ae7ded9d08d1940bb71d261abca658f Mon Sep 17 00:00:00 2001 From: pvtroshin Date: Mon, 5 Sep 2011 15:20:11 +0000 Subject: [PATCH] Update for web services stubs git-svn-id: link to svn.lifesci.dundee.ac.uk/svn/barton/ptroshin/JABA2@4566 e3abac25-378b-4346-85de-24260fe3988d --- .../data/msa/jaxws/GetServiceCategories.java | 15 ++++++ .../msa/jaxws/GetServiceCategoriesResponse.java | 37 ++++++++++++++ .../data/msa/jaxws/GetServiceDescription.java | 36 ++++++++++++++ .../msa/jaxws/GetServiceDescriptionResponse.java | 36 ++++++++++++++ webservices/compbio/ws/client/Services.java | 6 +++ webservices/compbio/ws/server/Category.java | 8 +++ .../compbio/ws/server/resource/AAConWS.wsdl | 52 ++++++++++---------- .../compbio/ws/server/resource/ClustalWS.wsdl | 46 ++++++++--------- .../compbio/ws/server/resource/DisemblWS.wsdl | 52 ++++++++++---------- .../compbio/ws/server/resource/GlobPlotWS.wsdl | 52 ++++++++++---------- .../compbio/ws/server/resource/IUPredWS.wsdl | 52 ++++++++++---------- .../compbio/ws/server/resource/JronnWS.wsdl | 52 ++++++++++---------- .../compbio/ws/server/resource/MafftWS.wsdl | 46 ++++++++--------- .../compbio/ws/server/resource/MuscleWS.wsdl | 46 ++++++++--------- .../compbio/ws/server/resource/RegistryWS.wsdl | 38 ++++++++++++++ .../ws/server/resource/RegistryWS_schema1.xsd | 38 ++++++++++++++ .../compbio/ws/server/resource/TcoffeeWS.wsdl | 46 ++++++++--------- 17 files changed, 436 insertions(+), 222 deletions(-) create mode 100644 webservices/compbio/data/msa/jaxws/GetServiceCategories.java create mode 100644 webservices/compbio/data/msa/jaxws/GetServiceCategoriesResponse.java create mode 100644 webservices/compbio/data/msa/jaxws/GetServiceDescription.java create mode 100644 webservices/compbio/data/msa/jaxws/GetServiceDescriptionResponse.java diff --git a/webservices/compbio/data/msa/jaxws/GetServiceCategories.java b/webservices/compbio/data/msa/jaxws/GetServiceCategories.java new file mode 100644 index 0000000..0c77d6a --- /dev/null +++ b/webservices/compbio/data/msa/jaxws/GetServiceCategories.java @@ -0,0 +1,15 @@ + +package compbio.data.msa.jaxws; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +@XmlRootElement(name = "getServiceCategories", namespace = "http://msa.data.compbio/01/12/2010/") +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "getServiceCategories", namespace = "http://msa.data.compbio/01/12/2010/") +public class GetServiceCategories { + + +} diff --git a/webservices/compbio/data/msa/jaxws/GetServiceCategoriesResponse.java b/webservices/compbio/data/msa/jaxws/GetServiceCategoriesResponse.java new file mode 100644 index 0000000..536dabc --- /dev/null +++ b/webservices/compbio/data/msa/jaxws/GetServiceCategoriesResponse.java @@ -0,0 +1,37 @@ + +package compbio.data.msa.jaxws; + +import java.util.Set; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +@XmlRootElement(name = "getServiceCategoriesResponse", namespace = "http://msa.data.compbio/01/12/2010/") +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "getServiceCategoriesResponse", namespace = "http://msa.data.compbio/01/12/2010/") +public class GetServiceCategoriesResponse { + + @XmlElement(name = "return", namespace = "") + private Set _return; + + /** + * + * @return + * returns Set + */ + public Set getReturn() { + return this._return; + } + + /** + * + * @param _return + * the value for the _return property + */ + public void setReturn(Set _return) { + this._return = _return; + } + +} diff --git a/webservices/compbio/data/msa/jaxws/GetServiceDescription.java b/webservices/compbio/data/msa/jaxws/GetServiceDescription.java new file mode 100644 index 0000000..d55a43b --- /dev/null +++ b/webservices/compbio/data/msa/jaxws/GetServiceDescription.java @@ -0,0 +1,36 @@ + +package compbio.data.msa.jaxws; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +@XmlRootElement(name = "getServiceDescription", namespace = "http://msa.data.compbio/01/12/2010/") +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "getServiceDescription", namespace = "http://msa.data.compbio/01/12/2010/") +public class GetServiceDescription { + + @XmlElement(name = "arg0", namespace = "") + private compbio.ws.client.Services arg0; + + /** + * + * @return + * returns Services + */ + public compbio.ws.client.Services getArg0() { + return this.arg0; + } + + /** + * + * @param arg0 + * the value for the arg0 property + */ + public void setArg0(compbio.ws.client.Services arg0) { + this.arg0 = arg0; + } + +} diff --git a/webservices/compbio/data/msa/jaxws/GetServiceDescriptionResponse.java b/webservices/compbio/data/msa/jaxws/GetServiceDescriptionResponse.java new file mode 100644 index 0000000..42a76ad --- /dev/null +++ b/webservices/compbio/data/msa/jaxws/GetServiceDescriptionResponse.java @@ -0,0 +1,36 @@ + +package compbio.data.msa.jaxws; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlElement; +import javax.xml.bind.annotation.XmlRootElement; +import javax.xml.bind.annotation.XmlType; + +@XmlRootElement(name = "getServiceDescriptionResponse", namespace = "http://msa.data.compbio/01/12/2010/") +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "getServiceDescriptionResponse", namespace = "http://msa.data.compbio/01/12/2010/") +public class GetServiceDescriptionResponse { + + @XmlElement(name = "return", namespace = "") + private String _return; + + /** + * + * @return + * returns String + */ + public String getReturn() { + return this._return; + } + + /** + * + * @param _return + * the value for the _return property + */ + public void setReturn(String _return) { + this._return = _return; + } + +} diff --git a/webservices/compbio/ws/client/Services.java b/webservices/compbio/ws/client/Services.java index 3616e1b..2ffafb6 100644 --- a/webservices/compbio/ws/client/Services.java +++ b/webservices/compbio/ws/client/Services.java @@ -21,6 +21,8 @@ package compbio.ws.client; import java.net.URL; import java.util.Set; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.namespace.QName; import javax.xml.ws.Service; @@ -187,6 +189,7 @@ public enum Services { + "Parallelization of the MAFFT multiple sequence alignment program. ", "6.8.57", "http://mafft.cbrc.jp/alignment/software/").toString();; + @XmlAccessorType(XmlAccessType.FIELD) static class ServiceInfo { Services service; String reference; @@ -195,6 +198,9 @@ public enum Services { final static String jabaws_version = "2.0"; final static String line_delimiter = "\n"; + private ServiceInfo() { + // Default constructor for JAXB + } private ServiceInfo(Services service, String reference, String version, String moreinfo) { this.service = service; diff --git a/webservices/compbio/ws/server/Category.java b/webservices/compbio/ws/server/Category.java index f01ad18..5e164c4 100644 --- a/webservices/compbio/ws/server/Category.java +++ b/webservices/compbio/ws/server/Category.java @@ -4,6 +4,9 @@ import java.util.HashSet; import java.util.Set; import java.util.TreeSet; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; + import compbio.ws.client.Services; /** @@ -17,6 +20,7 @@ import compbio.ws.client.Services; * @author pvtroshin * @version 1.0 September 2011 */ +@XmlAccessorType(XmlAccessType.FIELD) public class Category { /* * TODO refactor initialization and constrains into separate classes if @@ -38,6 +42,10 @@ public class Category { this.services = services; } + private Category() { + // Default constructor for JAXB + } + Set getServices() { return new TreeSet(services); } diff --git a/webservices/compbio/ws/server/resource/AAConWS.wsdl b/webservices/compbio/ws/server/resource/AAConWS.wsdl index 772fca7..b02eaf9 100644 --- a/webservices/compbio/ws/server/resource/AAConWS.wsdl +++ b/webservices/compbio/ws/server/resource/AAConWS.wsdl @@ -6,6 +6,15 @@ + + + + + + + + + @@ -36,15 +45,6 @@ - - - - - - - - - @@ -88,6 +88,11 @@ + + + + + @@ -111,11 +116,6 @@ - - - - - @@ -147,6 +147,18 @@ + + + + + + + + + + + + @@ -207,18 +219,6 @@ - - - - - - - - - - - - diff --git a/webservices/compbio/ws/server/resource/ClustalWS.wsdl b/webservices/compbio/ws/server/resource/ClustalWS.wsdl index 7ea9514..61508ac 100644 --- a/webservices/compbio/ws/server/resource/ClustalWS.wsdl +++ b/webservices/compbio/ws/server/resource/ClustalWS.wsdl @@ -15,11 +15,11 @@ - - + + - - + + @@ -30,6 +30,12 @@ + + + + + + @@ -39,12 +45,6 @@ - - - - - - @@ -93,6 +93,13 @@ + + + + + + + @@ -109,13 +116,6 @@ - - - - - - - @@ -159,7 +159,7 @@ - + @@ -176,11 +176,8 @@ - - - - + @@ -201,7 +198,7 @@ - + @@ -218,6 +215,9 @@ + + + diff --git a/webservices/compbio/ws/server/resource/DisemblWS.wsdl b/webservices/compbio/ws/server/resource/DisemblWS.wsdl index ad062c4..0938649 100644 --- a/webservices/compbio/ws/server/resource/DisemblWS.wsdl +++ b/webservices/compbio/ws/server/resource/DisemblWS.wsdl @@ -6,6 +6,15 @@ + + + + + + + + + @@ -36,15 +45,6 @@ - - - - - - - - - @@ -88,6 +88,11 @@ + + + + + @@ -111,11 +116,6 @@ - - - - - @@ -147,6 +147,18 @@ + + + + + + + + + + + + @@ -207,18 +219,6 @@ - - - - - - - - - - - - diff --git a/webservices/compbio/ws/server/resource/GlobPlotWS.wsdl b/webservices/compbio/ws/server/resource/GlobPlotWS.wsdl index 67f9169..c85f5ae 100644 --- a/webservices/compbio/ws/server/resource/GlobPlotWS.wsdl +++ b/webservices/compbio/ws/server/resource/GlobPlotWS.wsdl @@ -6,6 +6,15 @@ + + + + + + + + + @@ -36,15 +45,6 @@ - - - - - - - - - @@ -88,6 +88,11 @@ + + + + + @@ -111,11 +116,6 @@ - - - - - @@ -147,6 +147,18 @@ + + + + + + + + + + + + @@ -207,18 +219,6 @@ - - - - - - - - - - - - diff --git a/webservices/compbio/ws/server/resource/IUPredWS.wsdl b/webservices/compbio/ws/server/resource/IUPredWS.wsdl index 4627adb..ddfde64 100644 --- a/webservices/compbio/ws/server/resource/IUPredWS.wsdl +++ b/webservices/compbio/ws/server/resource/IUPredWS.wsdl @@ -6,6 +6,15 @@ + + + + + + + + + @@ -36,15 +45,6 @@ - - - - - - - - - @@ -88,6 +88,11 @@ + + + + + @@ -111,11 +116,6 @@ - - - - - @@ -147,6 +147,18 @@ + + + + + + + + + + + + @@ -207,18 +219,6 @@ - - - - - - - - - - - - diff --git a/webservices/compbio/ws/server/resource/JronnWS.wsdl b/webservices/compbio/ws/server/resource/JronnWS.wsdl index f8caa2c..b56cf06 100644 --- a/webservices/compbio/ws/server/resource/JronnWS.wsdl +++ b/webservices/compbio/ws/server/resource/JronnWS.wsdl @@ -6,6 +6,15 @@ + + + + + + + + + @@ -36,15 +45,6 @@ - - - - - - - - - @@ -88,6 +88,11 @@ + + + + + @@ -111,11 +116,6 @@ - - - - - @@ -147,6 +147,18 @@ + + + + + + + + + + + + @@ -207,18 +219,6 @@ - - - - - - - - - - - - diff --git a/webservices/compbio/ws/server/resource/MafftWS.wsdl b/webservices/compbio/ws/server/resource/MafftWS.wsdl index c4fcf1c..bebc64b 100644 --- a/webservices/compbio/ws/server/resource/MafftWS.wsdl +++ b/webservices/compbio/ws/server/resource/MafftWS.wsdl @@ -15,11 +15,11 @@ - - + + - - + + @@ -30,6 +30,12 @@ + + + + + + @@ -39,12 +45,6 @@ - - - - - - @@ -93,6 +93,13 @@ + + + + + + + @@ -109,13 +116,6 @@ - - - - - - - @@ -159,7 +159,7 @@ - + @@ -176,11 +176,8 @@ - - - - + @@ -201,7 +198,7 @@ - + @@ -218,6 +215,9 @@ + + + diff --git a/webservices/compbio/ws/server/resource/MuscleWS.wsdl b/webservices/compbio/ws/server/resource/MuscleWS.wsdl index da4ed97..4f2af4f 100644 --- a/webservices/compbio/ws/server/resource/MuscleWS.wsdl +++ b/webservices/compbio/ws/server/resource/MuscleWS.wsdl @@ -15,11 +15,11 @@ - - + + - - + + @@ -30,6 +30,12 @@ + + + + + + @@ -39,12 +45,6 @@ - - - - - - @@ -93,6 +93,13 @@ + + + + + + + @@ -109,13 +116,6 @@ - - - - - - - @@ -159,7 +159,7 @@ - + @@ -176,11 +176,8 @@ - - - - + @@ -201,7 +198,7 @@ - + @@ -218,6 +215,9 @@ + + + diff --git a/webservices/compbio/ws/server/resource/RegistryWS.wsdl b/webservices/compbio/ws/server/resource/RegistryWS.wsdl index 6760f66..6e2d9f9 100644 --- a/webservices/compbio/ws/server/resource/RegistryWS.wsdl +++ b/webservices/compbio/ws/server/resource/RegistryWS.wsdl @@ -42,6 +42,18 @@ + + + + + + + + + + + + @@ -67,6 +79,14 @@ + + + + + + + + @@ -124,6 +144,24 @@ + + + + + + + + + + + + + + + + + + diff --git a/webservices/compbio/ws/server/resource/RegistryWS_schema1.xsd b/webservices/compbio/ws/server/resource/RegistryWS_schema1.xsd index a7cb4c7..745515a 100644 --- a/webservices/compbio/ws/server/resource/RegistryWS_schema1.xsd +++ b/webservices/compbio/ws/server/resource/RegistryWS_schema1.xsd @@ -9,6 +9,14 @@ + + + + + + + + @@ -47,6 +55,18 @@ + + + + + + + + + + + + @@ -57,6 +77,23 @@ + + + + + + + + + + + + + + + + + @@ -98,6 +135,7 @@ + diff --git a/webservices/compbio/ws/server/resource/TcoffeeWS.wsdl b/webservices/compbio/ws/server/resource/TcoffeeWS.wsdl index 6781837..5129abb 100644 --- a/webservices/compbio/ws/server/resource/TcoffeeWS.wsdl +++ b/webservices/compbio/ws/server/resource/TcoffeeWS.wsdl @@ -15,11 +15,11 @@ - - + + - - + + @@ -30,6 +30,12 @@ + + + + + + @@ -39,12 +45,6 @@ - - - - - - @@ -93,6 +93,13 @@ + + + + + + + @@ -109,13 +116,6 @@ - - - - - - - @@ -159,7 +159,7 @@ - + @@ -176,11 +176,8 @@ - - - - + @@ -201,7 +198,7 @@ - + @@ -218,6 +215,9 @@ + + + -- 1.7.10.2