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