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; } }
/** * 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())); }