regenerated Jpred stubs and tidied client thread.
authorjprocter <Jim Procter>
Mon, 22 Aug 2005 14:22:12 +0000 (14:22 +0000)
committerjprocter <Jim Procter>
Mon, 22 Aug 2005 14:22:12 +0000 (14:22 +0000)
src/ext/vamsas/JpredSoapBindingStub.java
src/jalview/ws/JPredClient.java
src/vamsas/objects/simple/Result.java
src/vamsas/objects/simple/Result_Helper.java
src/vamsas/objects/simple/Sequence.java
src/vamsas/objects/simple/Sequence_Helper.java

index bed6fa3..360a522 100755 (executable)
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-*/\r
-package ext.vamsas;\r
-\r
-public class JpredSoapBindingStub extends org.apache.axis.client.Stub\r
-    implements ext.vamsas.JPredWS {\r
-    static org.apache.axis.description.OperationDesc[] _operations;\r
-\r
-    static {\r
-        _operations = new org.apache.axis.description.OperationDesc[4];\r
-        _initOperationDesc1();\r
-    }\r
-\r
-    private java.util.Vector cachedSerClasses = new java.util.Vector();\r
-    private java.util.Vector cachedSerQNames = new java.util.Vector();\r
-    private java.util.Vector cachedSerFactories = new java.util.Vector();\r
-    private java.util.Vector cachedDeserFactories = new java.util.Vector();\r
-\r
-    public JpredSoapBindingStub() throws org.apache.axis.AxisFault {\r
-        this(null);\r
-    }\r
-\r
-    public JpredSoapBindingStub(java.net.URL endpointURL,\r
-        javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {\r
-        this(service);\r
-        super.cachedEndpoint = endpointURL;\r
-    }\r
-\r
-    public JpredSoapBindingStub(javax.xml.rpc.Service service)\r
-        throws org.apache.axis.AxisFault {\r
-        if (service == null) {\r
-            super.service = new org.apache.axis.client.Service();\r
-        } else {\r
-            super.service = service;\r
-        }\r
-\r
-        java.lang.Class cls;\r
-        javax.xml.namespace.QName qName;\r
-        java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;\r
-        java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;\r
-        java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;\r
-        java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;\r
-        java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;\r
-        java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;\r
-        java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;\r
-        java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;\r
-        java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;\r
-        java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;\r
-        qName = new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "Sequence");\r
-        cachedSerQNames.add(qName);\r
-        cls = ext.vamsas.Sequence.class;\r
-        cachedSerClasses.add(cls);\r
-        cachedSerFactories.add(beansf);\r
-        cachedDeserFactories.add(beandf);\r
-\r
-        qName = new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "Secstructpred");\r
-        cachedSerQNames.add(qName);\r
-        cls = ext.vamsas.Secstructpred.class;\r
-        cachedSerClasses.add(cls);\r
-        cachedSerFactories.add(beansf);\r
-        cachedDeserFactories.add(beandf);\r
-\r
-        qName = new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "Msfalignment");\r
-        cachedSerQNames.add(qName);\r
-        cls = ext.vamsas.Msfalignment.class;\r
-        cachedSerClasses.add(cls);\r
-        cachedSerFactories.add(beansf);\r
-        cachedDeserFactories.add(beandf);\r
-\r
-        qName = new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "JpredResult");\r
-        cachedSerQNames.add(qName);\r
-        cls = ext.vamsas.JpredResult.class;\r
-        cachedSerClasses.add(cls);\r
-        cachedSerFactories.add(beansf);\r
-        cachedDeserFactories.add(beandf);\r
-\r
-        qName = new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "Result");\r
-        cachedSerQNames.add(qName);\r
-        cls = ext.vamsas.Result.class;\r
-        cachedSerClasses.add(cls);\r
-        cachedSerFactories.add(beansf);\r
-        cachedDeserFactories.add(beandf);\r
-    }\r
-\r
-    private static void _initOperationDesc1() {\r
-        org.apache.axis.description.OperationDesc oper;\r
-        oper = new org.apache.axis.description.OperationDesc();\r
-        oper.setName("predict");\r
-        oper.addParameter(new javax.xml.namespace.QName("vamsas", "in0"),\r
-            new javax.xml.namespace.QName("http://dataTypes.vamsas", "Sequence"),\r
-            ext.vamsas.Sequence.class,\r
-            org.apache.axis.description.ParameterDesc.IN, false, false);\r
-        oper.setReturnType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "string"));\r
-        oper.setReturnClass(java.lang.String.class);\r
-        oper.setReturnQName(new javax.xml.namespace.QName("vamsas",\r
-                "predictReturn"));\r
-        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);\r
-        oper.setUse(org.apache.axis.constants.Use.LITERAL);\r
-        _operations[0] = oper;\r
-\r
-        oper = new org.apache.axis.description.OperationDesc();\r
-        oper.setName("predictOnMsa");\r
-        oper.addParameter(new javax.xml.namespace.QName("vamsas", "in0"),\r
-            new javax.xml.namespace.QName("http://dataTypes.vamsas",\r
-                "Msfalignment"), ext.vamsas.Msfalignment.class,\r
-            org.apache.axis.description.ParameterDesc.IN, false, false);\r
-        oper.setReturnType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "string"));\r
-        oper.setReturnClass(java.lang.String.class);\r
-        oper.setReturnQName(new javax.xml.namespace.QName("vamsas",\r
-                "predictOnMsaReturn"));\r
-        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);\r
-        oper.setUse(org.apache.axis.constants.Use.LITERAL);\r
-        _operations[1] = oper;\r
-\r
-        oper = new org.apache.axis.description.OperationDesc();\r
-        oper.setName("getpredict");\r
-        oper.addParameter(new javax.xml.namespace.QName("vamsas", "in0"),\r
-            new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",\r
-                "string"), java.lang.String.class,\r
-            org.apache.axis.description.ParameterDesc.IN, false, false);\r
-        oper.setReturnType(new javax.xml.namespace.QName(\r
-                "http://dataTypes.vamsas", "Secstructpred"));\r
-        oper.setReturnClass(ext.vamsas.Secstructpred.class);\r
-        oper.setReturnQName(new javax.xml.namespace.QName("vamsas",\r
-                "getpredictReturn"));\r
-        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);\r
-        oper.setUse(org.apache.axis.constants.Use.LITERAL);\r
-        _operations[2] = oper;\r
-\r
-        oper = new org.apache.axis.description.OperationDesc();\r
-        oper.setName("getresult");\r
-        oper.addParameter(new javax.xml.namespace.QName("vamsas", "in0"),\r
-            new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema",\r
-                "string"), java.lang.String.class,\r
-            org.apache.axis.description.ParameterDesc.IN, false, false);\r
-        oper.setReturnType(new javax.xml.namespace.QName(\r
-                "http://dataTypes.vamsas", "JpredResult"));\r
-        oper.setReturnClass(ext.vamsas.JpredResult.class);\r
-        oper.setReturnQName(new javax.xml.namespace.QName("vamsas",\r
-                "getresultReturn"));\r
-        oper.setStyle(org.apache.axis.constants.Style.WRAPPED);\r
-        oper.setUse(org.apache.axis.constants.Use.LITERAL);\r
-        _operations[3] = oper;\r
-    }\r
-\r
-    protected org.apache.axis.client.Call createCall()\r
-        throws java.rmi.RemoteException {\r
-        try {\r
-            org.apache.axis.client.Call _call = (org.apache.axis.client.Call) super.service.createCall();\r
-\r
-            if (super.maintainSessionSet) {\r
-                _call.setMaintainSession(super.maintainSession);\r
-            }\r
-\r
-            if (super.cachedUsername != null) {\r
-                _call.setUsername(super.cachedUsername);\r
-            }\r
-\r
-            if (super.cachedPassword != null) {\r
-                _call.setPassword(super.cachedPassword);\r
-            }\r
-\r
-            if (super.cachedEndpoint != null) {\r
-                _call.setTargetEndpointAddress(super.cachedEndpoint);\r
-            }\r
-\r
-            if (super.cachedTimeout != null) {\r
-                _call.setTimeout(super.cachedTimeout);\r
-            }\r
-\r
-            if (super.cachedPortName != null) {\r
-                _call.setPortName(super.cachedPortName);\r
-            }\r
-\r
-            java.util.Enumeration keys = super.cachedProperties.keys();\r
-\r
-            while (keys.hasMoreElements()) {\r
-                java.lang.String key = (java.lang.String) keys.nextElement();\r
-                _call.setProperty(key, super.cachedProperties.get(key));\r
-            }\r
-\r
-            // All the type mapping information is registered\r
-            // when the first call is made.\r
-            // The type mapping information is actually registered in\r
-            // the TypeMappingRegistry of the service, which\r
-            // is the reason why registration is only needed for the first call.\r
-            synchronized (this) {\r
-                if (firstCall()) {\r
-                    // must set encoding style before registering serializers\r
-                    _call.setEncodingStyle(null);\r
-\r
-                    for (int i = 0; i < cachedSerFactories.size(); ++i) {\r
-                        java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);\r
-                        javax.xml.namespace.QName qName = (javax.xml.namespace.QName) cachedSerQNames.get(i);\r
-                        java.lang.Class sf = (java.lang.Class) cachedSerFactories.get(i);\r
-                        java.lang.Class df = (java.lang.Class) cachedDeserFactories.get(i);\r
-                        _call.registerTypeMapping(cls, qName, sf, df, false);\r
-                    }\r
-                }\r
-            }\r
-\r
-            return _call;\r
-        } catch (java.lang.Throwable _t) {\r
-            throw new org.apache.axis.AxisFault("Failure trying to get the Call object",\r
-                _t);\r
-        }\r
-    }\r
-\r
-    public java.lang.String predict(ext.vamsas.Sequence in0)\r
-        throws java.rmi.RemoteException {\r
-        if (super.cachedEndpoint == null) {\r
-            throw new org.apache.axis.NoEndPointException();\r
-        }\r
-\r
-        org.apache.axis.client.Call _call = createCall();\r
-        _call.setOperation(_operations[0]);\r
-        _call.setUseSOAPAction(true);\r
-        _call.setSOAPActionURI("");\r
-        _call.setEncodingStyle(null);\r
-        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,\r
-            Boolean.FALSE);\r
-        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,\r
-            Boolean.FALSE);\r
-        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);\r
-        _call.setOperationName(new javax.xml.namespace.QName("vamsas", "predict"));\r
-\r
-        setRequestHeaders(_call);\r
-        setAttachments(_call);\r
-\r
-        java.lang.Object _resp = _call.invoke(new java.lang.Object[] { in0 });\r
-\r
-        if (_resp instanceof java.rmi.RemoteException) {\r
-            throw (java.rmi.RemoteException) _resp;\r
-        } else {\r
-            extractAttachments(_call);\r
-\r
-            try {\r
-                return (java.lang.String) _resp;\r
-            } catch (java.lang.Exception _exception) {\r
-                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp,\r
-                    java.lang.String.class);\r
-            }\r
-        }\r
-    }\r
-\r
-    public java.lang.String predictOnMsa(ext.vamsas.Msfalignment in0)\r
-        throws java.rmi.RemoteException {\r
-        if (super.cachedEndpoint == null) {\r
-            throw new org.apache.axis.NoEndPointException();\r
-        }\r
-\r
-        org.apache.axis.client.Call _call = createCall();\r
-        _call.setOperation(_operations[1]);\r
-        _call.setUseSOAPAction(true);\r
-        _call.setSOAPActionURI("");\r
-        _call.setEncodingStyle(null);\r
-        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,\r
-            Boolean.FALSE);\r
-        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,\r
-            Boolean.FALSE);\r
-        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);\r
-        _call.setOperationName(new javax.xml.namespace.QName("vamsas",\r
-                "predictOnMsa"));\r
-\r
-        setRequestHeaders(_call);\r
-        setAttachments(_call);\r
-\r
-        java.lang.Object _resp = _call.invoke(new java.lang.Object[] { in0 });\r
-\r
-        if (_resp instanceof java.rmi.RemoteException) {\r
-            throw (java.rmi.RemoteException) _resp;\r
-        } else {\r
-            extractAttachments(_call);\r
-\r
-            try {\r
-                return (java.lang.String) _resp;\r
-            } catch (java.lang.Exception _exception) {\r
-                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp,\r
-                    java.lang.String.class);\r
-            }\r
-        }\r
-    }\r
-\r
-    public ext.vamsas.Secstructpred getpredict(java.lang.String in0)\r
-        throws java.rmi.RemoteException {\r
-        if (super.cachedEndpoint == null) {\r
-            throw new org.apache.axis.NoEndPointException();\r
-        }\r
-\r
-        org.apache.axis.client.Call _call = createCall();\r
-        _call.setOperation(_operations[2]);\r
-        _call.setUseSOAPAction(true);\r
-        _call.setSOAPActionURI("");\r
-        _call.setEncodingStyle(null);\r
-        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,\r
-            Boolean.FALSE);\r
-        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,\r
-            Boolean.FALSE);\r
-        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);\r
-        _call.setOperationName(new javax.xml.namespace.QName("vamsas",\r
-                "getpredict"));\r
-\r
-        setRequestHeaders(_call);\r
-        setAttachments(_call);\r
-\r
-        java.lang.Object _resp = _call.invoke(new java.lang.Object[] { in0 });\r
-\r
-        if (_resp instanceof java.rmi.RemoteException) {\r
-            throw (java.rmi.RemoteException) _resp;\r
-        } else {\r
-            extractAttachments(_call);\r
-\r
-            try {\r
-                return (ext.vamsas.Secstructpred) _resp;\r
-            } catch (java.lang.Exception _exception) {\r
-                return (ext.vamsas.Secstructpred) org.apache.axis.utils.JavaUtils.convert(_resp,\r
-                    ext.vamsas.Secstructpred.class);\r
-            }\r
-        }\r
-    }\r
-\r
-    public ext.vamsas.JpredResult getresult(java.lang.String in0)\r
-        throws java.rmi.RemoteException {\r
-        if (super.cachedEndpoint == null) {\r
-            throw new org.apache.axis.NoEndPointException();\r
-        }\r
-\r
-        org.apache.axis.client.Call _call = createCall();\r
-        _call.setOperation(_operations[3]);\r
-        _call.setUseSOAPAction(true);\r
-        _call.setSOAPActionURI("");\r
-        _call.setEncodingStyle(null);\r
-        _call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR,\r
-            Boolean.FALSE);\r
-        _call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,\r
-            Boolean.FALSE);\r
-        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);\r
-        _call.setOperationName(new javax.xml.namespace.QName("vamsas",\r
-                "getresult"));\r
-\r
-        setRequestHeaders(_call);\r
-        setAttachments(_call);\r
-\r
-        java.lang.Object _resp = _call.invoke(new java.lang.Object[] { in0 });\r
-\r
-        if (_resp instanceof java.rmi.RemoteException) {\r
-            throw (java.rmi.RemoteException) _resp;\r
-        } else {\r
-            extractAttachments(_call);\r
-\r
-            try {\r
-                return (ext.vamsas.JpredResult) _resp;\r
-            } catch (java.lang.Exception _exception) {\r
-                return (ext.vamsas.JpredResult) org.apache.axis.utils.JavaUtils.convert(_resp,\r
-                    ext.vamsas.JpredResult.class);\r
-            }\r
-        }\r
-    }\r
-}\r
+ */
+
+package ext.vamsas;
+
+public class JpredSoapBindingStub extends org.apache.axis.client.Stub implements ext.vamsas.Jpred {
+    private java.util.Vector cachedSerClasses = new java.util.Vector();
+    private java.util.Vector cachedSerQNames = new java.util.Vector();
+    private java.util.Vector cachedSerFactories = new java.util.Vector();
+    private java.util.Vector cachedDeserFactories = new java.util.Vector();
+
+    static org.apache.axis.description.OperationDesc [] _operations;
+
+    static {
+        _operations = new org.apache.axis.description.OperationDesc[4];
+        _initOperationDesc1();
+    }
+
+    private static void _initOperationDesc1(){
+        org.apache.axis.description.OperationDesc oper;
+        oper = new org.apache.axis.description.OperationDesc();
+        oper.setName("predict");
+        oper.addParameter(new javax.xml.namespace.QName("", "seq"), new javax.xml.namespace.QName("simple.objects.vamsas", "Sequence"), vamsas.objects.simple.Sequence.class, org.apache.axis.description.ParameterDesc.IN, false, false);
+        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+        oper.setReturnClass(java.lang.String.class);
+        oper.setReturnQName(new javax.xml.namespace.QName("", "predictReturn"));
+        oper.setStyle(org.apache.axis.constants.Style.RPC);
+        oper.setUse(org.apache.axis.constants.Use.ENCODED);
+        _operations[0] = oper;
+
+        oper = new org.apache.axis.description.OperationDesc();
+        oper.setName("predictOnMsa");
+        oper.addParameter(new javax.xml.namespace.QName("", "msf"), new javax.xml.namespace.QName("http://simple.objects.vamsas", "Msfalignment"), vamsas.objects.simple.Msfalignment.class, org.apache.axis.description.ParameterDesc.IN, false, false);
+        oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
+        oper.setReturnClass(java.lang.String.class);
+        oper.setReturnQName(new javax.xml.namespace.QName("", "predictOnMsaReturn"));
+        oper.setStyle(org.apache.axis.constants.Style.RPC);
+        oper.setUse(org.apache.axis.constants.Use.ENCODED);
+        _operations[1] = oper;
+
+        oper = new org.apache.axis.description.OperationDesc();
+        oper.setName("getpredict");
+        oper.addParameter(new javax.xml.namespace.QName("", "job_id"), new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, org.apache.axis.description.ParameterDesc.IN, false, false);
+        oper.setReturnType(new javax.xml.namespace.QName("http://simple.objects.vamsas", "Secstructpred"));
+        oper.setReturnClass(vamsas.objects.simple.Secstructpred.class);
+        oper.setReturnQName(new javax.xml.namespace.QName("", "getpredictReturn"));
+        oper.setStyle(org.apache.axis.constants.Style.RPC);
+        oper.setUse(org.apache.axis.constants.Use.ENCODED);
+        _operations[2] = oper;
+
+        oper = new org.apache.axis.description.OperationDesc();
+        oper.setName("getresult");
+        oper.addParameter(new javax.xml.namespace.QName("", "job_id"), new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, org.apache.axis.description.ParameterDesc.IN, false, false);
+        oper.setReturnType(new javax.xml.namespace.QName("http://simple.objects.vamsas", "JpredResult"));
+        oper.setReturnClass(vamsas.objects.simple.JpredResult.class);
+        oper.setReturnQName(new javax.xml.namespace.QName("", "getresultReturn"));
+        oper.setStyle(org.apache.axis.constants.Style.RPC);
+        oper.setUse(org.apache.axis.constants.Use.ENCODED);
+        _operations[3] = oper;
+
+    }
+
+    public JpredSoapBindingStub() throws org.apache.axis.AxisFault {
+         this(null);
+    }
+
+    public JpredSoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
+         this(service);
+         super.cachedEndpoint = endpointURL;
+    }
+
+    public JpredSoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault {
+        if (service == null) {
+            super.service = new org.apache.axis.client.Service();
+        } else {
+            super.service = service;
+        }
+            java.lang.Class cls;
+            javax.xml.namespace.QName qName;
+            java.lang.Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;
+            java.lang.Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;
+            java.lang.Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class;
+            java.lang.Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class;
+            java.lang.Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class;
+            java.lang.Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class;
+            java.lang.Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class;
+            java.lang.Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class;
+            java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class;
+            java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class;
+            qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", "JpredResult");
+            cachedSerQNames.add(qName);
+            cls = vamsas.objects.simple.JpredResult.class;
+            cachedSerClasses.add(cls);
+            cachedSerFactories.add(beansf);
+            cachedDeserFactories.add(beandf);
+
+            qName = new javax.xml.namespace.QName("simple.objects.vamsas", "Result");
+            cachedSerQNames.add(qName);
+            cls = vamsas.objects.simple.Result.class;
+            cachedSerClasses.add(cls);
+            cachedSerFactories.add(beansf);
+            cachedDeserFactories.add(beandf);
+
+            qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", "Secstructpred");
+            cachedSerQNames.add(qName);
+            cls = vamsas.objects.simple.Secstructpred.class;
+            cachedSerClasses.add(cls);
+            cachedSerFactories.add(beansf);
+            cachedDeserFactories.add(beandf);
+
+            qName = new javax.xml.namespace.QName("http://simple.objects.vamsas", "Msfalignment");
+            cachedSerQNames.add(qName);
+            cls = vamsas.objects.simple.Msfalignment.class;
+            cachedSerClasses.add(cls);
+            cachedSerFactories.add(beansf);
+            cachedDeserFactories.add(beandf);
+
+            qName = new javax.xml.namespace.QName("simple.objects.vamsas", "Sequence");
+            cachedSerQNames.add(qName);
+            cls = vamsas.objects.simple.Sequence.class;
+            cachedSerClasses.add(cls);
+            cachedSerFactories.add(beansf);
+            cachedDeserFactories.add(beandf);
+
+    }
+
+    protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException {
+        try {
+            org.apache.axis.client.Call _call =
+                    (org.apache.axis.client.Call) super.service.createCall();
+            if (super.maintainSessionSet) {
+                _call.setMaintainSession(super.maintainSession);
+            }
+            if (super.cachedUsername != null) {
+                _call.setUsername(super.cachedUsername);
+            }
+            if (super.cachedPassword != null) {
+                _call.setPassword(super.cachedPassword);
+            }
+            if (super.cachedEndpoint != null) {
+                _call.setTargetEndpointAddress(super.cachedEndpoint);
+            }
+            if (super.cachedTimeout != null) {
+                _call.setTimeout(super.cachedTimeout);
+            }
+            if (super.cachedPortName != null) {
+                _call.setPortName(super.cachedPortName);
+            }
+            java.util.Enumeration keys = super.cachedProperties.keys();
+            while (keys.hasMoreElements()) {
+                java.lang.String key = (java.lang.String) keys.nextElement();
+                _call.setProperty(key, super.cachedProperties.get(key));
+            }
+            // All the type mapping information is registered
+            // when the first call is made.
+            // The type mapping information is actually registered in
+            // the TypeMappingRegistry of the service, which
+            // is the reason why registration is only needed for the first call.
+            synchronized (this) {
+                if (firstCall()) {
+                    // must set encoding style before registering serializers
+                    _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+                    _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC);
+                    for (int i = 0; i < cachedSerFactories.size(); ++i) {
+                        java.lang.Class cls = (java.lang.Class) cachedSerClasses.get(i);
+                        javax.xml.namespace.QName qName =
+                                (javax.xml.namespace.QName) cachedSerQNames.get(i);
+                        java.lang.Class sf = (java.lang.Class)
+                                 cachedSerFactories.get(i);
+                        java.lang.Class df = (java.lang.Class)
+                                 cachedDeserFactories.get(i);
+                        _call.registerTypeMapping(cls, qName, sf, df, false);
+                    }
+                }
+            }
+            return _call;
+        }
+        catch (java.lang.Throwable _t) {
+            throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t);
+        }
+    }
+
+    public java.lang.String predict(vamsas.objects.simple.Sequence seq) throws java.rmi.RemoteException {
+        if (super.cachedEndpoint == null) {
+            throw new org.apache.axis.NoEndPointException();
+        }
+        org.apache.axis.client.Call _call = createCall();
+        _call.setOperation(_operations[0]);
+        _call.setUseSOAPAction(true);
+        _call.setSOAPActionURI("");
+        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+        _call.setOperationName(new javax.xml.namespace.QName("vamsas", "predict"));
+
+        setRequestHeaders(_call);
+        setAttachments(_call);
+        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {seq});
+
+        if (_resp instanceof java.rmi.RemoteException) {
+            throw (java.rmi.RemoteException)_resp;
+        }
+        else {
+            extractAttachments(_call);
+            try {
+                return (java.lang.String) _resp;
+            } catch (java.lang.Exception _exception) {
+                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
+            }
+        }
+    }
+
+    public java.lang.String predictOnMsa(vamsas.objects.simple.Msfalignment msf) throws java.rmi.RemoteException {
+        if (super.cachedEndpoint == null) {
+            throw new org.apache.axis.NoEndPointException();
+        }
+        org.apache.axis.client.Call _call = createCall();
+        _call.setOperation(_operations[1]);
+        _call.setUseSOAPAction(true);
+        _call.setSOAPActionURI("");
+        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+        _call.setOperationName(new javax.xml.namespace.QName("vamsas", "predictOnMsa"));
+
+        setRequestHeaders(_call);
+        setAttachments(_call);
+        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {msf});
+
+        if (_resp instanceof java.rmi.RemoteException) {
+            throw (java.rmi.RemoteException)_resp;
+        }
+        else {
+            extractAttachments(_call);
+            try {
+                return (java.lang.String) _resp;
+            } catch (java.lang.Exception _exception) {
+                return (java.lang.String) org.apache.axis.utils.JavaUtils.convert(_resp, java.lang.String.class);
+            }
+        }
+    }
+
+    public vamsas.objects.simple.Secstructpred getpredict(java.lang.String job_id) throws java.rmi.RemoteException {
+        if (super.cachedEndpoint == null) {
+            throw new org.apache.axis.NoEndPointException();
+        }
+        org.apache.axis.client.Call _call = createCall();
+        _call.setOperation(_operations[2]);
+        _call.setUseSOAPAction(true);
+        _call.setSOAPActionURI("");
+        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+        _call.setOperationName(new javax.xml.namespace.QName("vamsas", "getpredict"));
+
+        setRequestHeaders(_call);
+        setAttachments(_call);
+        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {job_id});
+
+        if (_resp instanceof java.rmi.RemoteException) {
+            throw (java.rmi.RemoteException)_resp;
+        }
+        else {
+            extractAttachments(_call);
+            try {
+                return (vamsas.objects.simple.Secstructpred) _resp;
+            } catch (java.lang.Exception _exception) {
+                return (vamsas.objects.simple.Secstructpred) org.apache.axis.utils.JavaUtils.convert(_resp, vamsas.objects.simple.Secstructpred.class);
+            }
+        }
+    }
+
+    public vamsas.objects.simple.JpredResult getresult(java.lang.String job_id) throws java.rmi.RemoteException {
+        if (super.cachedEndpoint == null) {
+            throw new org.apache.axis.NoEndPointException();
+        }
+        org.apache.axis.client.Call _call = createCall();
+        _call.setOperation(_operations[3]);
+        _call.setUseSOAPAction(true);
+        _call.setSOAPActionURI("");
+        _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+        _call.setOperationName(new javax.xml.namespace.QName("vamsas", "getresult"));
+
+        setRequestHeaders(_call);
+        setAttachments(_call);
+        java.lang.Object _resp = _call.invoke(new java.lang.Object[] {job_id});
+
+        if (_resp instanceof java.rmi.RemoteException) {
+            throw (java.rmi.RemoteException)_resp;
+        }
+        else {
+            extractAttachments(_call);
+            try {
+                return (vamsas.objects.simple.JpredResult) _resp;
+            } catch (java.lang.Exception _exception) {
+                return (vamsas.objects.simple.JpredResult) org.apache.axis.utils.JavaUtils.convert(_resp, vamsas.objects.simple.JpredResult.class);
+            }
+        }
+    }
+
+}
index c7508df..04a6101 100755 (executable)
@@ -30,7 +30,7 @@ import jalview.gui.*;
 public class JPredClient\r
     extends WSClient\r
 {\r
-  ext.vamsas.JPredWS server;\r
+  ext.vamsas.Jpred server;\r
   String altitle = "";\r
   java.util.Hashtable SequenceInfo = null;\r
   public JPredClient(ext.vamsas.ServiceHandle sh, String title, SequenceI seq) {\r
@@ -115,7 +115,7 @@ public class JPredClient
 \r
   private boolean locateWebService()\r
   {\r
-    JPredWSServiceLocator loc = new JPredWSServiceLocator(); // Default\r
+    ext.vamsas.JpredServiceLocator loc = new JpredServiceLocator(); // Default\r
 \r
     try\r
     {\r
@@ -146,9 +146,9 @@ public class JPredClient
       extends Thread\r
   {\r
     String OutputHeader;\r
-    ext.vamsas.JpredResult result;\r
-    ext.vamsas.Sequence sequence;\r
-    ext.vamsas.Msfalignment msa;\r
+    vamsas.objects.simple.JpredResult result;\r
+    vamsas.objects.simple.Sequence sequence;\r
+    vamsas.objects.simple.Msfalignment msa;\r
     String jobId;\r
     boolean jobComplete = false;\r
     int allowedServerExceptions = 3; // thread dies if too many exceptions.\r
@@ -156,7 +156,7 @@ public class JPredClient
     JPredThread(SequenceI seq)\r
     {\r
       OutputHeader = wsInfo.getProgressText();\r
-      this.sequence = new ext.vamsas.Sequence();\r
+      this.sequence = new vamsas.objects.simple.Sequence();\r
       this.sequence.setId(seq.getName());\r
       this.sequence.setSeq(AlignSeq.extractGaps("-. ", seq.getSequence()));\r
     }\r
@@ -164,13 +164,13 @@ public class JPredClient
     JPredThread(SequenceI[] msf)\r
     {\r
       OutputHeader = wsInfo.getProgressText();\r
-      this.sequence = new ext.vamsas.Sequence();\r
+      this.sequence = new vamsas.objects.simple.Sequence();\r
       this.sequence.setId(msf[0].getName());\r
       this.sequence.setSeq(AlignSeq.extractGaps("-. ",\r
                                                 msf[0].getSequence()));\r
 \r
       jalview.io.PileUpfile mwrite = new jalview.io.PileUpfile();\r
-      this.msa = new ext.vamsas.Msfalignment();\r
+      this.msa = new vamsas.objects.simple.Msfalignment();\r
       msa.setMsf(mwrite.print(msf));\r
     }\r
 \r
@@ -187,27 +187,28 @@ public class JPredClient
             throw (new Exception(\r
                 "Timed out when communicating with server\nTry again later.\n"));\r
           }\r
-\r
+          if (result.getState()==0)\r
+            jalview.bin.Jalview.log.debug("Finished "+jobId);\r
           if (result.isRunning())\r
           {\r
             wsInfo.setStatus(WebserviceInfo.STATE_RUNNING);\r
           }\r
-          else if (result.isQueued())\r
+          if (result.isQueued())\r
           {\r
             wsInfo.setStatus(WebserviceInfo.STATE_QUEUING);\r
           }\r
 \r
+          wsInfo.setProgressText(OutputHeader + "\n" +\r
+                                 result.getStatus());\r
+\r
           if (result.isFinished())\r
           {\r
+\r
             parseResult();\r
             jobComplete = true;\r
             jobsRunning--;\r
-          }\r
-          else\r
-          {\r
-            wsInfo.setProgressText(OutputHeader + "\n" +\r
-                                   result.getStatus());\r
-\r
+          } else {\r
+            // catch exceptions\r
             if (! (result.isJobFailed() || result.isServerError()))\r
             {\r
               try\r
@@ -223,6 +224,8 @@ public class JPredClient
             else\r
             {\r
               wsInfo.setStatus(WebserviceInfo.STATE_STOPPED_ERROR);\r
+              jobsRunning--;\r
+              jobComplete = true;\r
             }\r
           }\r
         }\r
@@ -298,7 +301,7 @@ public class JPredClient
             "JPredWS Client: Failed to submit the prediction (Probably a server error - see below)\n" +\r
             e.toString() + "\n");\r
 \r
-        // e.printStackTrace(); TODO: JBPNote DEBUG\r
+        jalview.bin.Jalview.log.debug("Failed Submission",e);\r
       }\r
     }\r
 \r
@@ -494,7 +497,8 @@ public class JPredClient
       }\r
       catch (Exception ex)\r
       {\r
-        ex.printStackTrace();\r
+        jalview.bin.Jalview.log.warn("Exception whilst parsing JNet style secondary structure prediction.");\r
+        jalview.bin.Jalview.log.debug(ex);\r
       }\r
     }\r
   }\r
index 49756e2..b349019 100755 (executable)
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-*/\r
-package vamsas.objects.simple;\r
-\r
-public class Result implements java.io.Serializable {\r
-    private boolean broken;\r
-    private boolean failed;\r
-    private boolean finished;\r
-    private boolean invalid;\r
-    private boolean jobFailed;\r
-    private boolean queued;\r
-    private boolean running;\r
-    private boolean serverError;\r
-    private int state;\r
-    private java.lang.String status;\r
-    private boolean suspended;\r
-    private java.lang.Object __equalsCalc = null;\r
-    private boolean __hashCodeCalc = false;\r
-\r
-    public Result() {\r
-    }\r
-\r
-    public Result(boolean broken, boolean failed, boolean finished,\r
-        boolean invalid, boolean jobFailed, boolean queued, boolean running,\r
-        boolean serverError, int state, java.lang.String status,\r
-        boolean suspended) {\r
-        this.broken = broken;\r
-        this.failed = failed;\r
-        this.finished = finished;\r
-        this.invalid = invalid;\r
-        this.jobFailed = jobFailed;\r
-        this.queued = queued;\r
-        this.running = running;\r
-        this.serverError = serverError;\r
-        this.state = state;\r
-        this.status = status;\r
-        this.suspended = suspended;\r
-    }\r
-\r
+ */
+
+package vamsas.objects.simple;
+
+public class Result  implements java.io.Serializable {
+    private boolean broken;
+    private boolean failed;
+    private boolean finished;
+    private boolean invalid;
+    private boolean jobFailed;
+    private boolean queued;
+    private boolean running;
+    private boolean serverError;
+    private int state;
+    private java.lang.String status;
+    private boolean suspended;
+
+    public Result() {
+    }
+
+    public Result(
+           boolean broken,
+           boolean failed,
+           boolean finished,
+           boolean invalid,
+           boolean jobFailed,
+           boolean queued,
+           boolean running,
+           boolean serverError,
+           int state,
+           java.lang.String status,
+           boolean suspended) {
+           this.broken = broken;
+           this.failed = failed;
+           this.finished = finished;
+           this.invalid = invalid;
+           this.jobFailed = jobFailed;
+           this.queued = queued;
+           this.running = running;
+           this.serverError = serverError;
+           this.state = state;
+           this.status = status;
+           this.suspended = suspended;
+    }
+
+
     /**
- * Gets the broken value for this Result.
- *
- * @return broken
- */\r
-    public boolean isBroken() {\r
-        return broken;\r
-    }\r
-\r
+     * Gets the broken value for this Result.
+     * 
+     * @return broken
+     */
+    public boolean isBroken() {
+        return broken;
+    }
+
+
     /**
- * Sets the broken value for this Result.
- *
- * @param broken
- */\r
-    public void setBroken(boolean broken) {\r
-        this.broken = broken;\r
-    }\r
-\r
+     * Sets the broken value for this Result.
+     * 
+     * @param broken
+     */
+    public void setBroken(boolean broken) {
+        this.broken = broken;
+    }
+
+
     /**
- * Gets the failed value for this Result.
- *
- * @return failed
- */\r
-    public boolean isFailed() {\r
-        return failed;\r
-    }\r
-\r
+     * Gets the failed value for this Result.
+     * 
+     * @return failed
+     */
+    public boolean isFailed() {
+        return failed;
+    }
+
+
     /**
- * Sets the failed value for this Result.
- *
- * @param failed
- */\r
-    public void setFailed(boolean failed) {\r
-        this.failed = failed;\r
-    }\r
-\r
+     * Sets the failed value for this Result.
+     * 
+     * @param failed
+     */
+    public void setFailed(boolean failed) {
+        this.failed = failed;
+    }
+
+
     /**
- * Gets the finished value for this Result.
- *
- * @return finished
- */\r
-    public boolean isFinished() {\r
-        return finished;\r
-    }\r
-\r
+     * Gets the finished value for this Result.
+     * 
+     * @return finished
+     */
+    public boolean isFinished() {
+        return finished;
+    }
+
+
     /**
- * Sets the finished value for this Result.
- *
- * @param finished
- */\r
-    public void setFinished(boolean finished) {\r
-        this.finished = finished;\r
-    }\r
-\r
+     * Sets the finished value for this Result.
+     * 
+     * @param finished
+     */
+    public void setFinished(boolean finished) {
+        this.finished = finished;
+    }
+
+
     /**
- * Gets the invalid value for this Result.
- *
- * @return invalid
- */\r
-    public boolean isInvalid() {\r
-        return invalid;\r
-    }\r
-\r
+     * Gets the invalid value for this Result.
+     * 
+     * @return invalid
+     */
+    public boolean isInvalid() {
+        return invalid;
+    }
+
+
     /**
- * Sets the invalid value for this Result.
- *
- * @param invalid
- */\r
-    public void setInvalid(boolean invalid) {\r
-        this.invalid = invalid;\r
-    }\r
-\r
+     * Sets the invalid value for this Result.
+     * 
+     * @param invalid
+     */
+    public void setInvalid(boolean invalid) {
+        this.invalid = invalid;
+    }
+
+
     /**
- * Gets the jobFailed value for this Result.
- *
- * @return jobFailed
- */\r
-    public boolean isJobFailed() {\r
-        return jobFailed;\r
-    }\r
-\r
+     * Gets the jobFailed value for this Result.
+     * 
+     * @return jobFailed
+     */
+    public boolean isJobFailed() {
+        return jobFailed;
+    }
+
+
     /**
- * Sets the jobFailed value for this Result.
- *
- * @param jobFailed
- */\r
-    public void setJobFailed(boolean jobFailed) {\r
-        this.jobFailed = jobFailed;\r
-    }\r
-\r
+     * Sets the jobFailed value for this Result.
+     * 
+     * @param jobFailed
+     */
+    public void setJobFailed(boolean jobFailed) {
+        this.jobFailed = jobFailed;
+    }
+
+
     /**
- * Gets the queued value for this Result.
- *
- * @return queued
- */\r
-    public boolean isQueued() {\r
-        return queued;\r
-    }\r
-\r
+     * Gets the queued value for this Result.
+     * 
+     * @return queued
+     */
+    public boolean isQueued() {
+        return queued;
+    }
+
+
     /**
- * Sets the queued value for this Result.
- *
- * @param queued
- */\r
-    public void setQueued(boolean queued) {\r
-        this.queued = queued;\r
-    }\r
-\r
+     * Sets the queued value for this Result.
+     * 
+     * @param queued
+     */
+    public void setQueued(boolean queued) {
+        this.queued = queued;
+    }
+
+
     /**
- * Gets the running value for this Result.
- *
- * @return running
- */\r
-    public boolean isRunning() {\r
-        return running;\r
-    }\r
-\r
+     * Gets the running value for this Result.
+     * 
+     * @return running
+     */
+    public boolean isRunning() {
+        return running;
+    }
+
+
     /**
- * Sets the running value for this Result.
- *
- * @param running
- */\r
-    public void setRunning(boolean running) {\r
-        this.running = running;\r
-    }\r
-\r
+     * Sets the running value for this Result.
+     * 
+     * @param running
+     */
+    public void setRunning(boolean running) {
+        this.running = running;
+    }
+
+
     /**
- * Gets the serverError value for this Result.
- *
- * @return serverError
- */\r
-    public boolean isServerError() {\r
-        return serverError;\r
-    }\r
-\r
+     * Gets the serverError value for this Result.
+     * 
+     * @return serverError
+     */
+    public boolean isServerError() {
+        return serverError;
+    }
+
+
     /**
- * Sets the serverError value for this Result.
- *
- * @param serverError
- */\r
-    public void setServerError(boolean serverError) {\r
-        this.serverError = serverError;\r
-    }\r
-\r
+     * Sets the serverError value for this Result.
+     * 
+     * @param serverError
+     */
+    public void setServerError(boolean serverError) {
+        this.serverError = serverError;
+    }
+
+
     /**
- * Gets the state value for this Result.
- *
- * @return state
- */\r
-    public int getState() {\r
-        return state;\r
-    }\r
-\r
+     * Gets the state value for this Result.
+     * 
+     * @return state
+     */
+    public int getState() {
+        return state;
+    }
+
+
     /**
- * Sets the state value for this Result.
- *
- * @param state
- */\r
-    public void setState(int state) {\r
-        this.state = state;\r
-    }\r
-\r
+     * Sets the state value for this Result.
+     * 
+     * @param state
+     */
+    public void setState(int state) {
+        this.state = state;
+    }
+
+
     /**
- * Gets the status value for this Result.
- *
- * @return status
- */\r
-    public java.lang.String getStatus() {\r
-        return status;\r
-    }\r
-\r
+     * Gets the status value for this Result.
+     * 
+     * @return status
+     */
+    public java.lang.String getStatus() {
+        return status;
+    }
+
+
     /**
- * Sets the status value for this Result.
- *
- * @param status
- */\r
-    public void setStatus(java.lang.String status) {\r
-        this.status = status;\r
-    }\r
-\r
+     * Sets the status value for this Result.
+     * 
+     * @param status
+     */
+    public void setStatus(java.lang.String status) {
+        this.status = status;
+    }
+
+
     /**
- * Gets the suspended value for this Result.
- *
- * @return suspended
- */\r
-    public boolean isSuspended() {\r
-        return suspended;\r
-    }\r
-\r
+     * Gets the suspended value for this Result.
+     * 
+     * @return suspended
+     */
+    public boolean isSuspended() {
+        return suspended;
+    }
+
+
     /**
- * Sets the suspended value for this Result.
- *
- * @param suspended
- */\r
-    public void setSuspended(boolean suspended) {\r
-        this.suspended = suspended;\r
-    }\r
-\r
-    public synchronized boolean equals(java.lang.Object obj) {\r
-        if (!(obj instanceof Result)) {\r
-            return false;\r
-        }\r
-\r
-        Result other = (Result) obj;\r
-\r
-        if (obj == null) {\r
-            return false;\r
-        }\r
-\r
-        if (this == obj) {\r
-            return true;\r
-        }\r
-\r
-        if (__equalsCalc != null) {\r
-            return (__equalsCalc == obj);\r
-        }\r
-\r
-        __equalsCalc = obj;\r
-\r
-        boolean _equals;\r
-        _equals = true && (this.broken == other.isBroken()) &&\r
-            (this.failed == other.isFailed()) &&\r
-            (this.finished == other.isFinished()) &&\r
-            (this.invalid == other.isInvalid()) &&\r
-            (this.jobFailed == other.isJobFailed()) &&\r
-            (this.queued == other.isQueued()) &&\r
-            (this.running == other.isRunning()) &&\r
-            (this.serverError == other.isServerError()) &&\r
-            (this.state == other.getState()) &&\r
-            (((this.status == null) && (other.getStatus() == null)) ||\r
-            ((this.status != null) && this.status.equals(other.getStatus()))) &&\r
-            (this.suspended == other.isSuspended());\r
-        __equalsCalc = null;\r
-\r
-        return _equals;\r
-    }\r
-\r
-    public synchronized int hashCode() {\r
-        if (__hashCodeCalc) {\r
-            return 0;\r
-        }\r
-\r
-        __hashCodeCalc = true;\r
-\r
-        int _hashCode = 1;\r
-        _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        _hashCode += getState();\r
-\r
-        if (getStatus() != null) {\r
-            _hashCode += getStatus().hashCode();\r
-        }\r
-\r
-        _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
-        __hashCodeCalc = false;\r
-\r
-        return _hashCode;\r
-    }\r
-}\r
+     * Sets the suspended value for this Result.
+     * 
+     * @param suspended
+     */
+    public void setSuspended(boolean suspended) {
+        this.suspended = suspended;
+    }
+
+    private java.lang.Object __equalsCalc = null;
+    public synchronized boolean equals(java.lang.Object obj) {
+        if (!(obj instanceof Result)) return false;
+        Result other = (Result) obj;
+        if (obj == null) return false;
+        if (this == obj) return true;
+        if (__equalsCalc != null) {
+            return (__equalsCalc == obj);
+        }
+        __equalsCalc = obj;
+        boolean _equals;
+        _equals = true && 
+            this.broken == other.isBroken() &&
+            this.failed == other.isFailed() &&
+            this.finished == other.isFinished() &&
+            this.invalid == other.isInvalid() &&
+            this.jobFailed == other.isJobFailed() &&
+            this.queued == other.isQueued() &&
+            this.running == other.isRunning() &&
+            this.serverError == other.isServerError() &&
+            this.state == other.getState() &&
+            ((this.status==null && other.getStatus()==null) || 
+             (this.status!=null &&
+              this.status.equals(other.getStatus()))) &&
+            this.suspended == other.isSuspended();
+        __equalsCalc = null;
+        return _equals;
+    }
+
+    private boolean __hashCodeCalc = false;
+    public synchronized int hashCode() {
+        if (__hashCodeCalc) {
+            return 0;
+        }
+        __hashCodeCalc = true;
+        int _hashCode = 1;
+        _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        _hashCode += getState();
+        if (getStatus() != null) {
+            _hashCode += getStatus().hashCode();
+        }
+        _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+        __hashCodeCalc = false;
+        return _hashCode;
+    }
+
+}
index 42584f5..14ed2b5 100755 (executable)
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-*/\r
-package vamsas.objects.simple;\r
-\r
-public class Result_Helper {\r
-    // Type metadata\r
-    private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Result.class,\r
-            true);\r
-\r
-    static {\r
-        typeDesc.setXmlType(new javax.xml.namespace.QName(\r
-                "simple.objects.vamsas", "Result"));\r
-\r
-        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("broken");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "broken"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("failed");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "failed"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("finished");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "finished"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("invalid");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "invalid"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("jobFailed");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "jobFailed"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("queued");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "queued"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("running");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "running"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("serverError");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "serverError"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("state");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "state"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "int"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("status");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "status"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://schemas.xmlsoap.org/soap/encoding/", "string"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("suspended");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "suspended"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://www.w3.org/2001/XMLSchema", "boolean"));\r
-        typeDesc.addFieldDesc(elemField);\r
-    }\r
-\r
+ */
+
+package vamsas.objects.simple;
+
+public class Result_Helper {
+    // Type metadata
+    private static org.apache.axis.description.TypeDesc typeDesc =
+        new org.apache.axis.description.TypeDesc(Result.class, true);
+
+    static {
+        typeDesc.setXmlType(new javax.xml.namespace.QName("simple.objects.vamsas", "Result"));
+        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("broken");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "broken"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("failed");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "failed"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("finished");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "finished"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("invalid");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "invalid"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("jobFailed");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "jobFailed"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("queued");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "queued"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("running");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "running"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("serverError");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "serverError"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("state");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "state"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("status");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("suspended");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "suspended"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
+        typeDesc.addFieldDesc(elemField);
+    }
+
     /**
- * Return type metadata object
- */\r
-    public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
-        return typeDesc;\r
-    }\r
-\r
+     * Return type metadata object
+     */
+    public static org.apache.axis.description.TypeDesc getTypeDesc() {
+        return typeDesc;
+    }
+
     /**
- * Get Custom Serializer
- */\r
-    public static org.apache.axis.encoding.Serializer getSerializer(\r
-        java.lang.String mechType, java.lang.Class _javaType,\r
-        javax.xml.namespace.QName _xmlType) {\r
-        return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
-            _xmlType, typeDesc);\r
-    }\r
-\r
+     * Get Custom Serializer
+     */
+    public static org.apache.axis.encoding.Serializer getSerializer(
+           java.lang.String mechType, 
+           java.lang.Class _javaType,  
+           javax.xml.namespace.QName _xmlType) {
+        return 
+          new  org.apache.axis.encoding.ser.BeanSerializer(
+            _javaType, _xmlType, typeDesc);
+    }
+
     /**
- * Get Custom Deserializer
- */\r
-    public static org.apache.axis.encoding.Deserializer getDeserializer(\r
-        java.lang.String mechType, java.lang.Class _javaType,\r
-        javax.xml.namespace.QName _xmlType) {\r
-        return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
-            _xmlType, typeDesc);\r
-    }\r
-}\r
+     * Get Custom Deserializer
+     */
+    public static org.apache.axis.encoding.Deserializer getDeserializer(
+           java.lang.String mechType, 
+           java.lang.Class _javaType,  
+           javax.xml.namespace.QName _xmlType) {
+        return 
+          new  org.apache.axis.encoding.ser.BeanDeserializer(
+            _javaType, _xmlType, typeDesc);
+    }
+
+}
index ddf0177..d2eccb0 100755 (executable)
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-*/\r
-package vamsas.objects.simple;\r
-\r
-public class Sequence implements java.io.Serializable {\r
-    private java.lang.String id;\r
-    private java.lang.String seq;\r
-    private java.lang.Object __equalsCalc = null;\r
-    private boolean __hashCodeCalc = false;\r
-\r
-    public Sequence() {\r
-    }\r
-\r
-    public Sequence(java.lang.String id, java.lang.String seq) {\r
-        this.id = id;\r
-        this.seq = seq;\r
-    }\r
-\r
+ */
+
+package vamsas.objects.simple;
+
+public class Sequence  implements java.io.Serializable {
+    private java.lang.String id;
+    private java.lang.String seq;
+
+    public Sequence() {
+    }
+
+    public Sequence(
+           java.lang.String id,
+           java.lang.String seq) {
+           this.id = id;
+           this.seq = seq;
+    }
+
+
     /**
- * Gets the id value for this Sequence.
- *
- * @return id
- */\r
-    public java.lang.String getId() {\r
-        return id;\r
-    }\r
-\r
+     * Gets the id value for this Sequence.
+     * 
+     * @return id
+     */
+    public java.lang.String getId() {
+        return id;
+    }
+
+
     /**
- * Sets the id value for this Sequence.
- *
- * @param id
- */\r
-    public void setId(java.lang.String id) {\r
-        this.id = id;\r
-    }\r
-\r
+     * Sets the id value for this Sequence.
+     * 
+     * @param id
+     */
+    public void setId(java.lang.String id) {
+        this.id = id;
+    }
+
+
     /**
- * Gets the seq value for this Sequence.
- *
- * @return seq
- */\r
-    public java.lang.String getSeq() {\r
-        return seq;\r
-    }\r
-\r
+     * Gets the seq value for this Sequence.
+     * 
+     * @return seq
+     */
+    public java.lang.String getSeq() {
+        return seq;
+    }
+
+
     /**
- * Sets the seq value for this Sequence.
- *
- * @param seq
- */\r
-    public void setSeq(java.lang.String seq) {\r
-        this.seq = seq;\r
-    }\r
-\r
-    public synchronized boolean equals(java.lang.Object obj) {\r
-        if (!(obj instanceof Sequence)) {\r
-            return false;\r
-        }\r
-\r
-        Sequence other = (Sequence) obj;\r
-\r
-        if (obj == null) {\r
-            return false;\r
-        }\r
-\r
-        if (this == obj) {\r
-            return true;\r
-        }\r
-\r
-        if (__equalsCalc != null) {\r
-            return (__equalsCalc == obj);\r
-        }\r
-\r
-        __equalsCalc = obj;\r
-\r
-        boolean _equals;\r
-        _equals = true &&\r
-            (((this.id == null) && (other.getId() == null)) ||\r
-            ((this.id != null) && this.id.equals(other.getId()))) &&\r
-            (((this.seq == null) && (other.getSeq() == null)) ||\r
-            ((this.seq != null) && this.seq.equals(other.getSeq())));\r
-        __equalsCalc = null;\r
-\r
-        return _equals;\r
-    }\r
-\r
-    public synchronized int hashCode() {\r
-        if (__hashCodeCalc) {\r
-            return 0;\r
-        }\r
-\r
-        __hashCodeCalc = true;\r
-\r
-        int _hashCode = 1;\r
-\r
-        if (getId() != null) {\r
-            _hashCode += getId().hashCode();\r
-        }\r
-\r
-        if (getSeq() != null) {\r
-            _hashCode += getSeq().hashCode();\r
-        }\r
-\r
-        __hashCodeCalc = false;\r
-\r
-        return _hashCode;\r
-    }\r
-}\r
+     * Sets the seq value for this Sequence.
+     * 
+     * @param seq
+     */
+    public void setSeq(java.lang.String seq) {
+        this.seq = seq;
+    }
+
+    private java.lang.Object __equalsCalc = null;
+    public synchronized boolean equals(java.lang.Object obj) {
+        if (!(obj instanceof Sequence)) return false;
+        Sequence other = (Sequence) obj;
+        if (obj == null) return false;
+        if (this == obj) return true;
+        if (__equalsCalc != null) {
+            return (__equalsCalc == obj);
+        }
+        __equalsCalc = obj;
+        boolean _equals;
+        _equals = true && 
+            ((this.id==null && other.getId()==null) || 
+             (this.id!=null &&
+              this.id.equals(other.getId()))) &&
+            ((this.seq==null && other.getSeq()==null) || 
+             (this.seq!=null &&
+              this.seq.equals(other.getSeq())));
+        __equalsCalc = null;
+        return _equals;
+    }
+
+    private boolean __hashCodeCalc = false;
+    public synchronized int hashCode() {
+        if (__hashCodeCalc) {
+            return 0;
+        }
+        __hashCodeCalc = true;
+        int _hashCode = 1;
+        if (getId() != null) {
+            _hashCode += getId().hashCode();
+        }
+        if (getSeq() != null) {
+            _hashCode += getSeq().hashCode();
+        }
+        __hashCodeCalc = false;
+        return _hashCode;
+    }
+
+}
index b080dc5..f675384 100755 (executable)
@@ -3,75 +3,58 @@
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
-/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
-*/\r
-package vamsas.objects.simple;\r
-\r
-public class Sequence_Helper {\r
-    // Type metadata\r
-    private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Sequence.class,\r
-            true);\r
-\r
-    static {\r
-        typeDesc.setXmlType(new javax.xml.namespace.QName(\r
-                "simple.objects.vamsas", "Sequence"));\r
-\r
-        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("id");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "id"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://schemas.xmlsoap.org/soap/encoding/", "string"));\r
-        typeDesc.addFieldDesc(elemField);\r
-        elemField = new org.apache.axis.description.ElementDesc();\r
-        elemField.setFieldName("seq");\r
-        elemField.setXmlName(new javax.xml.namespace.QName("", "seq"));\r
-        elemField.setXmlType(new javax.xml.namespace.QName(\r
-                "http://schemas.xmlsoap.org/soap/encoding/", "string"));\r
-        typeDesc.addFieldDesc(elemField);\r
-    }\r
-\r
+ */
+
+package vamsas.objects.simple;
+
+public class Sequence_Helper {
+    // Type metadata
+    private static org.apache.axis.description.TypeDesc typeDesc =
+        new org.apache.axis.description.TypeDesc(Sequence.class, true);
+
+    static {
+        typeDesc.setXmlType(new javax.xml.namespace.QName("simple.objects.vamsas", "Sequence"));
+        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("id");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
+        typeDesc.addFieldDesc(elemField);
+        elemField = new org.apache.axis.description.ElementDesc();
+        elemField.setFieldName("seq");
+        elemField.setXmlName(new javax.xml.namespace.QName("", "seq"));
+        elemField.setXmlType(new javax.xml.namespace.QName("http://schemas.xmlsoap.org/soap/encoding/", "string"));
+        typeDesc.addFieldDesc(elemField);
+    }
+
     /**
- * Return type metadata object
- */\r
-    public static org.apache.axis.description.TypeDesc getTypeDesc() {\r
-        return typeDesc;\r
-    }\r
-\r
+     * Return type metadata object
+     */
+    public static org.apache.axis.description.TypeDesc getTypeDesc() {
+        return typeDesc;
+    }
+
     /**
- * Get Custom Serializer
- */\r
-    public static org.apache.axis.encoding.Serializer getSerializer(\r
-        java.lang.String mechType, java.lang.Class _javaType,\r
-        javax.xml.namespace.QName _xmlType) {\r
-        return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,\r
-            _xmlType, typeDesc);\r
-    }\r
-\r
+     * Get Custom Serializer
+     */
+    public static org.apache.axis.encoding.Serializer getSerializer(
+           java.lang.String mechType, 
+           java.lang.Class _javaType,  
+           javax.xml.namespace.QName _xmlType) {
+        return 
+          new  org.apache.axis.encoding.ser.BeanSerializer(
+            _javaType, _xmlType, typeDesc);
+    }
+
     /**
- * Get Custom Deserializer
- */\r
-    public static org.apache.axis.encoding.Deserializer getDeserializer(\r
-        java.lang.String mechType, java.lang.Class _javaType,\r
-        javax.xml.namespace.QName _xmlType) {\r
-        return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,\r
-            _xmlType, typeDesc);\r
-    }\r
-}\r
+     * Get Custom Deserializer
+     */
+    public static org.apache.axis.encoding.Deserializer getDeserializer(
+           java.lang.String mechType, 
+           java.lang.Class _javaType,  
+           javax.xml.namespace.QName _xmlType) {
+        return 
+          new  org.apache.axis.encoding.ser.BeanDeserializer(
+            _javaType, _xmlType, typeDesc);
+    }
+
+}