public com.wondertek.meeting.webservice.sms.ISmsInfoWsPortType getISmsInfoWsHttpPort( java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { com.wondertek.meeting.webservice.sms.ISmsInfoWsHttpBindingStub _stub = new com.wondertek.meeting.webservice.sms.ISmsInfoWsHttpBindingStub(portAddress, this); _stub.setPortName(getISmsInfoWsHttpPortWSDDServiceName()); 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.wondertek.meeting.webservice.sms.ISmsInfoWsPortType.class.isAssignableFrom( serviceEndpointInterface)) { com.wondertek.meeting.webservice.sms.ISmsInfoWsHttpBindingStub _stub = new com.wondertek.meeting.webservice.sms.ISmsInfoWsHttpBindingStub( new java.net.URL(ISmsInfoWsHttpPort_address), this); _stub.setPortName(getISmsInfoWsHttpPortWSDDServiceName()); 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())); }