/** * * @return An EPR whose URI is the value returned by getDefaultURI(). * */ protected EndpointReference getDefaultEPR() { String defaultURI = getDefaultURI(); if (defaultURI == null) throw new IllegalStateException(_MESSAGES.get("NoDefaultURI")); return new EndpointReference(URI.create(defaultURI)); }