QName portQName = portInfo.getWsdlPort();
if (portQName == null) {
portQName = JAXWSUtils.getPortQName(endpointClass);
}
OASISCatalogManager catalogManager = new OASISCatalogManager();
URL catalogURL = JAXWSUtils.getOASISCatalogURL(configurationBaseUrl, classLoader, this.catalogName);
if (catalogURL != null) {
catalogManager.setCatalogFiles(catalogURL.toString());
}
URL wsdlURL = getWsdlURL(wsdlFile, configurationBaseUrl, classLoader);
WSDL4JWrapper wsdlWrapper = new WSDL4JWrapper(wsdlURL, this.configurationContext, catalogManager);
Definition wsdlDefinition = wsdlWrapper.getDefinition();