OASISCatalogManager catalogManager = new OASISCatalogManager();
URL catalogURL = JAXWSUtils.getOASISCatalogURL(bundle, this.catalogName);
if (catalogURL != null) {
Catalog catalog = catalogManager.getCatalog();
catalog.parseCatalog(catalogURL);
//The default logic in the Catalog.parseCatalogFile(String) method always assume that the URL is file-based
//This is not correct in OSGi environment, so considering that one Catalog instance will be shared per OASISCatalogManager
//instance, we will call the parseCatalog(URL) to add the file
//catalogManager.setCatalogFiles(catalogURL.toString());
}