public java.util.Iterator getPorts() { if (ports == null) { ports = new java.util.HashSet(); ports.add( new javax.xml.namespace.QName( "http://soap.sforce.com/schemas/class" + appConfig.getNameSpace() + "/Rating_WS_Utils", "Nimbus_Rating_WS_Utils")); } return ports.iterator(); }
public javax.xml.namespace.QName getServiceName() { return new javax.xml.namespace.QName( "http://soap.sforce.com/schemas/class" + appConfig.getNameSpace() + "/Rating_WS_Utils", "Nimbus_Rating_WS_UtilsService"); }
public class Nimbus_Rating_WS_UtilsServiceLocator extends org.apache.axis.client.Service implements com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils .Nimbus_Rating_WS_UtilsService { private static AppConfig appConfig = Configurator.getAppConfig(); public Nimbus_Rating_WS_UtilsServiceLocator() {} public Nimbus_Rating_WS_UtilsServiceLocator(org.apache.axis.EngineConfiguration config) { super(config); } public Nimbus_Rating_WS_UtilsServiceLocator( java.lang.String wsdlLoc, javax.xml.namespace.QName sName) throws javax.xml.rpc.ServiceException { super(wsdlLoc, sName); } // Use to get a proxy class for Nimbus_Rating_WS_Utils private java.lang.String Nimbus_Rating_WS_Utils_address = "https://" + appConfig.getSfApiServer() + ".salesforce.com/services/Soap/class" + appConfig.getNameSpace() + "/Rating_WS_Utils"; public java.lang.String getNimbus_Rating_WS_UtilsAddress() { return Nimbus_Rating_WS_Utils_address; } // The WSDD service name defaults to the port name. private java.lang.String Nimbus_Rating_WS_UtilsWSDDServiceName = "Nimbus_Rating_WS_Utils"; public java.lang.String getNimbus_Rating_WS_UtilsWSDDServiceName() { return Nimbus_Rating_WS_UtilsWSDDServiceName; } public void setNimbus_Rating_WS_UtilsWSDDServiceName(java.lang.String name) { Nimbus_Rating_WS_UtilsWSDDServiceName = name; } public com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils.Nimbus_Rating_WS_UtilsPortType getNimbus_Rating_WS_Utils() throws javax.xml.rpc.ServiceException { java.net.URL endpoint; try { endpoint = new java.net.URL(Nimbus_Rating_WS_Utils_address); } catch (java.net.MalformedURLException e) { throw new javax.xml.rpc.ServiceException(e); } return getNimbus_Rating_WS_Utils(endpoint); } public com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils.Nimbus_Rating_WS_UtilsPortType getNimbus_Rating_WS_Utils(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils.Nimbus_Rating_WS_UtilsBindingStub _stub = new com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils .Nimbus_Rating_WS_UtilsBindingStub(portAddress, this); _stub.setPortName(getNimbus_Rating_WS_UtilsWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } } public void setNimbus_Rating_WS_UtilsEndpointAddress(java.lang.String address) { Nimbus_Rating_WS_Utils_address = address; } /** * For the given interface, get the stub implementation. If this service has no port for the given * interface, then ServiceException is thrown. */ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils .Nimbus_Rating_WS_UtilsPortType.class.isAssignableFrom(serviceEndpointInterface)) { com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils .Nimbus_Rating_WS_UtilsBindingStub _stub = new com.sforce.soap.schemas._class.Espresso_Bill.Rating_WS_Utils .Nimbus_Rating_WS_UtilsBindingStub( new java.net.URL(Nimbus_Rating_WS_Utils_address), this); _stub.setPortName(getNimbus_Rating_WS_UtilsWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException( "There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); } /** * For the given interface, get the stub implementation. If this service has no port for the given * interface, then ServiceException is thrown. */ public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { if (portName == null) { return getPort(serviceEndpointInterface); } java.lang.String inputPortName = portName.getLocalPart(); if ("Nimbus_Rating_WS_Utils".equals(inputPortName)) { return getNimbus_Rating_WS_Utils(); } else { java.rmi.Remote _stub = getPort(serviceEndpointInterface); ((org.apache.axis.client.Stub) _stub).setPortName(portName); return _stub; } } public javax.xml.namespace.QName getServiceName() { return new javax.xml.namespace.QName( "http://soap.sforce.com/schemas/class" + appConfig.getNameSpace() + "/Rating_WS_Utils", "Nimbus_Rating_WS_UtilsService"); } private java.util.HashSet ports = null; public java.util.Iterator getPorts() { if (ports == null) { ports = new java.util.HashSet(); ports.add( new javax.xml.namespace.QName( "http://soap.sforce.com/schemas/class" + appConfig.getNameSpace() + "/Rating_WS_Utils", "Nimbus_Rating_WS_Utils")); } 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 ("Nimbus_Rating_WS_Utils".equals(portName)) { setNimbus_Rating_WS_UtilsEndpointAddress(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); } }