private Document getWSDLDoc(String wsdl) {
LOG.log(Level.FINE, new Message("VALIDATE_WSDL", LOG, wsdl).toString());
try {
OASISCatalogManager catalogResolver = OASISCatalogManager.getCatalogManager(this.getBus());
String nw = new OASISCatalogManagerHelper().resolve(catalogResolver,
wsdl, null);
if (nw == null) {
nw = wsdl;
}
return new Stax2DOM().getDocument(URIParserUtil.getAbsoluteURI(nw));