/*
- * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
- * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
- * 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 file is part of Jalview.
*
- * 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.
+ * Jalview 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 3
+ * of the License, or (at your option) any later version.
+ *
+ * Jalview 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
+ * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package ext.vamsas;
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,
+ "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.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.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.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.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.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.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;
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
- qName = new javax.xml.namespace.QName("simple.objects.vamsas", "Result");
+ qName = new javax.xml.namespace.QName("simple.objects.vamsas",
+ "Result");
cachedSerQNames.add(qName);
cls = vamsas.objects.simple.Result.class;
cachedSerClasses.add(cls);
if (firstCall())
{
// must set encoding style before registering serializers
- _call
- .setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
+ _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)
{
_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"));
+ _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 });
+ java.lang.Object _resp = _call.invoke(new java.lang.Object[] { seq });
if (_resp instanceof java.rmi.RemoteException)
{
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);
+ return (java.lang.String) org.apache.axis.utils.JavaUtils
+ .convert(_resp, java.lang.String.class);
}
}
}
_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"));
+ _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 });
+ java.lang.Object _resp = _call.invoke(new java.lang.Object[] { msf });
if (_resp instanceof java.rmi.RemoteException)
{
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);
+ return (java.lang.String) org.apache.axis.utils.JavaUtils
+ .convert(_resp, java.lang.String.class);
}
}
}
_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"));
+ _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 });
+ java.lang.Object _resp = _call
+ .invoke(new java.lang.Object[]
+ { job_id });
if (_resp instanceof java.rmi.RemoteException)
{
}
}
- public vamsas.objects.simple.JpredResult getresult(java.lang.String job_id)
- throws java.rmi.RemoteException
+ public vamsas.objects.simple.JpredResult getresult(
+ java.lang.String job_id) throws java.rmi.RemoteException
{
if (super.cachedEndpoint == null)
{
_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"));
+ _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 });
+ java.lang.Object _resp = _call
+ .invoke(new java.lang.Object[]
+ { job_id });
if (_resp instanceof java.rmi.RemoteException)
{