url = getAbsoluteURL(classLoader, filePath);
if (url == null) {
if (log.isDebugEnabled()) {
log.debug("Could not locate URL for wsdl. Reporting error");
}
throw new WSDLException("WSDL4JWrapper : ", e.getMessage(), e);
} else {
urlCon = url.openConnection();
if (log.isDebugEnabled()) {
log.debug("Found URL for WSDL from jar");
}
}
} else {
if (isDebugEnabled) {
log.debug(myClassName + ".getExplicitURI(" + wsdlURL + "): "
+ "Could not get URL from classloader. Reporting "
+ "error due to no file path.");
}
throw new WSDLException("WSDLWrapperReloadImpl : ", e.getMessage(), e);
}
}
if (is != null) {
is.close();
}
explicitURI = urlCon.getURL().toString();
} catch (Exception ex) {
throw new WSDLException("WSDLWrapperReloadImpl : ", ex.getMessage(), ex);
}
return explicitURI;
}