X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fext%2Fvamsas%2FJpredSoapBindingStub.java;h=7c7f8e76d4330366b75943a638a297c037886a60;hb=dfc849311567b9764bf2984e22c683dc988ed5d7;hp=5915dcae62991b996226f46c6c688eef59cf496e;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/ext/vamsas/JpredSoapBindingStub.java b/src/ext/vamsas/JpredSoapBindingStub.java index 5915dca..7c7f8e7 100755 --- a/src/ext/vamsas/JpredSoapBindingStub.java +++ b/src/ext/vamsas/JpredSoapBindingStub.java @@ -1,20 +1,22 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 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 . + * The Jalview Authors are detailed in the 'AUTHORS' file. */ package ext.vamsas; @@ -44,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")); @@ -64,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; @@ -80,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; @@ -96,9 +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; @@ -157,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); @@ -237,8 +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) { @@ -272,15 +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) { @@ -294,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); } } } @@ -312,15 +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) { @@ -334,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); } } } @@ -351,15 +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) { @@ -379,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) { @@ -390,15 +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) {