URL wsdlURL = dswContext.getBundle().getResource(location);
if (wsdlURL == null) {
throw new RuntimeException("WSDL resource at " + location + " is unavailable");
}
String address = getServerAddress(sd, iClass);
<BUG>String contextRoot = httpServiceManager.getServletContextRoot(sd);
if (address == null && contextRoot == null) {</BUG>
throw new RuntimeException("Remote address is unavailable");
}
LOG.info("Creating a " + iClass.getName() + " endpoint from CXF PublishHook, address is " + address);

URL wsdlURL = dswContext.getBundle().getResource(location);
if (wsdlURL == null) {
throw new RuntimeException("WSDL resource at " + location + " is unavailable");
}
String address = getServerAddress(sd, iClass);
String contextRoot = getServletContextRoot(sd);
if (address == null && contextRoot == null) {
throw new RuntimeException("Remote address is unavailable");
}
LOG.info("Creating a " + iClass.getName() + " endpoint from CXF PublishHook, address is " + address);
