public CrjlService getCrjlServiceImplPort(URL portAddress) throws ServiceException { try { CrjlServiceImplServiceSoapBindingStub _stub = new CrjlServiceImplServiceSoapBindingStub(portAddress, this); _stub.setPortName(getCrjlServiceImplPortWSDDServiceName()); return _stub; } catch (AxisFault e) { } return null; }
public Remote getPort(Class serviceEndpointInterface) throws ServiceException { try { if (CrjlService.class.isAssignableFrom(serviceEndpointInterface)) { CrjlServiceImplServiceSoapBindingStub _stub = new CrjlServiceImplServiceSoapBindingStub( new URL(this.CrjlServiceImplPort_address), this); _stub.setPortName(getCrjlServiceImplPortWSDDServiceName()); return _stub; } } catch (Throwable t) { throw new ServiceException(t); } throw new ServiceException( "There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); }