if (ref == null) { String resolved = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), key, base); if (resolved != null && smp.containsKey(URLDecoder.decode(resolved, "utf-8"))) { if (ref2 == null) { String resolved = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), key2, base); if (resolved != null && smp.containsKey(URLDecoder.decode(resolved, "utf-8"))) {
if (ref == null) { String resolved = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), key, base); if (resolved != null && smp.containsKey(URLDecoder.decode(resolved, "utf-8"))) { if (ref2 == null) { String resolved = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), key2, base); if (resolved != null && smp.containsKey(URLDecoder.decode(resolved, "utf-8"))) {
/** * Look for the schema filename in existing data structures and in system catalog * and register it in the local data structure. * * @param bus CXF's hub for access to internal constructs * @param xsd name of xsd file for lookup * @param smp local structure of found xsd files. * @param base the request URL * @return SchemaReference */ private SchemaReference lookupSchemaReference(Bus bus, String xsd, Map<String, SchemaReference> smp, String base) { SchemaReference si = smp.get(xsd); if (si == null) { String xsd2 = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), xsd, base); if (xsd2 != null) { si = smp.get(xsd2); } } if (si == null) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("SCHEMA_NOT_FOUND", LOG, xsd), null); } return si; }
/** * Look for the schema filename in existing data structures and in system catalog * and register it in the local data structure. * * @param bus CXF's hub for access to internal constructs * @param xsd name of xsd file for lookup * @param smp local structure of found xsd files. * @param base the request URL * @return SchemaReference */ private SchemaReference lookupSchemaReference(Bus bus, String xsd, Map<String, SchemaReference> smp, String base) { SchemaReference si = smp.get(xsd); if (si == null) { String xsd2 = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), xsd, base); if (xsd2 != null) { si = smp.get(xsd2); } } if (si == null) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("SCHEMA_NOT_FOUND", LOG, xsd), null); } return si; }
/** * Look for the schema filename in existing data structures and in system catalog * and register it in the local data structure. * * @param bus CXF's hub for access to internal constructs * @param mp local structure of found wsdl files. * @param wsdl name of wsdl file for lookup * @param base the request URL * @return Definition */ private Definition lookupDefinition(Bus bus, Map<String, Definition> mp, String wsdl, String base) { Definition def = mp.get(wsdl); if (def == null) { String wsdl2 = resolveWithCatalogs( OASISCatalogManager.getCatalogManager(bus), wsdl, base); if (wsdl2 != null) { def = mp.get(wsdl2); } } if (def == null) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("WSDL_NOT_FOUND", LOG, wsdl), null); } return def; }
/** * Look for the schema filename in existing data structures and in system catalog * and register it in the local data structure. * * @param bus CXF's hub for access to internal constructs * @param mp local structure of found wsdl files. * @param wsdl name of wsdl file for lookup * @param base the request URL * @return Definition */ private Definition lookupDefinition(Bus bus, Map<String, Definition> mp, String wsdl, String base) { Definition def = mp.get(wsdl); if (def == null) { String wsdl2 = resolveWithCatalogs( OASISCatalogManager.getCatalogManager(bus), wsdl, base); if (wsdl2 != null) { def = mp.get(wsdl2); } } if (def == null) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("WSDL_NOT_FOUND", LOG, wsdl), null); } return def; }
String resolvedSchemaLocation = resolveWithCatalogs(catalogs, start, base); if (resolvedSchemaLocation == null) { resolvedSchemaLocation = resolveWithCatalogs(catalogs, schemaReference.getSchemaLocationURI(), base);
String resolvedSchemaLocation = resolveWithCatalogs(catalogs, start, base); if (resolvedSchemaLocation == null) { resolvedSchemaLocation = resolveWithCatalogs(catalogs, schemaReference.getSchemaLocationURI(), base);
uri = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), uri, si.getReferencedSchema().getDocumentBaseURI()); if (uri == null) {
uri = resolveWithCatalogs(OASISCatalogManager.getCatalogManager(bus), uri, si.getReferencedSchema().getDocumentBaseURI()); if (uri == null) {
String resolvedSchemaLocation = resolveWithCatalogs(catalogs, start, base);
String resolvedSchemaLocation = resolveWithCatalogs(catalogs, start, base);