recent rebuild of the JPred client from WSDL2Java
[jalview.git] / src / ext / vamsas / JPredWSServiceLocator.java
index 976d2fd..0faea4c 100755 (executable)
@@ -2,15 +2,23 @@
  * JPredWSServiceLocator.java
  *
  * This file was auto-generated from WSDL
- * by the Apache Axis WSDL2Java emitter.
+ * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
  */
 
 package ext.vamsas;
 
 public class JPredWSServiceLocator extends org.apache.axis.client.Service implements ext.vamsas.JPredWSService {
 
+    public JPredWSServiceLocator() {
+    }
+
+
+    public JPredWSServiceLocator(org.apache.axis.EngineConfiguration config) {
+        super(config);
+    }
+
     // Use to get a proxy class for jpred
-    private final java.lang.String jpred_address = "http://anaplog.compbio.dundee.ac.uk:8080/axis/services/jpred";
+    private java.lang.String jpred_address = "http://anaplog.compbio.dundee.ac.uk:8080/axis/services/jpred";
 
     public java.lang.String getjpredAddress() {
         return jpred_address;
@@ -49,6 +57,10 @@ public class JPredWSServiceLocator extends org.apache.axis.client.Service implem
         }
     }
 
+    public void setjpredEndpointAddress(java.lang.String address) {
+        jpred_address = address;
+    }
+
     /**
      * For the given interface, get the stub implementation.
      * If this service has no port for the given interface,
@@ -77,7 +89,7 @@ public class JPredWSServiceLocator extends org.apache.axis.client.Service implem
         if (portName == null) {
             return getPort(serviceEndpointInterface);
         }
-        String inputPortName = portName.getLocalPart();
+        java.lang.String inputPortName = portName.getLocalPart();
         if ("jpred".equals(inputPortName)) {
             return getjpred();
         }
@@ -97,9 +109,28 @@ public class JPredWSServiceLocator extends org.apache.axis.client.Service implem
     public java.util.Iterator getPorts() {
         if (ports == null) {
             ports = new java.util.HashSet();
-            ports.add(new javax.xml.namespace.QName("jpred"));
+            ports.add(new javax.xml.namespace.QName("vamsas", "jpred"));
         }
         return ports.iterator();
     }
 
+    /**
+    * Set the endpoint address for the specified port name.
+    */
+    public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+        if ("jpred".equals(portName)) {
+            setjpredEndpointAddress(address);
+        }
+        else { // Unknown Port Name
+            throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName);
+        }
+    }
+
+    /**
+    * Set the endpoint address for the specified port name.
+    */
+    public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException {
+        setEndpointAddress(portName.getLocalPart(), address);
+    }
+
 }