public lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterface_PortType getDirectoryServiceOutInterfacePort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterfacePortBindingStub _stub = new lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterfacePortBindingStub( portAddress, this); _stub.setPortName(getDirectoryServiceOutInterfacePortWSDDServiceName()); 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 (lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterface_PortType.class .isAssignableFrom(serviceEndpointInterface)) { lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterfacePortBindingStub _stub = new lu.hitec.pss.soap.ds.out._15_x.DirectoryServiceOutInterfacePortBindingStub( new java.net.URL(DirectoryServiceOutInterfacePort_address), this); _stub.setPortName(getDirectoryServiceOutInterfacePortWSDDServiceName()); 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())); }