X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fext%2Fvamsas%2FJpredSoapBindingStub.java;h=7c7f8e76d4330366b75943a638a297c037886a60;hb=a9177efb4097815d9a8031aa22700c61a7d6260a;hp=03a2383f68681df50fc405585e60576c39e80a13;hpb=a45774ee31d9f35d4eff46d54d7deab719afb092;p=jalview.git
diff --git a/src/ext/vamsas/JpredSoapBindingStub.java b/src/ext/vamsas/JpredSoapBindingStub.java
index 03a2383..7c7f8e7 100755
--- a/src/ext/vamsas/JpredSoapBindingStub.java
+++ b/src/ext/vamsas/JpredSoapBindingStub.java
@@ -1,19 +1,22 @@
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
* 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.
- *
+ * 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 Jalview. If not, see .
+ * You should have received a copy of the GNU General Public License
+ * along with Jalview. If not, see .
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
*/
package ext.vamsas;
@@ -43,7 +46,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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"));
@@ -63,8 +67,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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;
@@ -79,8 +83,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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;
@@ -95,7 +99,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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;
@@ -154,7 +159,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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);
@@ -234,7 +240,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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)
{
@@ -268,14 +275,14 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
_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)
{
@@ -289,8 +296,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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);
}
}
}
@@ -307,14 +314,14 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
_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)
{
@@ -328,8 +335,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
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);
}
}
}
@@ -345,14 +352,16 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
_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)
{
@@ -372,8 +381,8 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
}
}
- 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)
{
@@ -383,14 +392,16 @@ public class JpredSoapBindingStub extends org.apache.axis.client.Stub
_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)
{