/** * 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; }
/** * 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; }
throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, base), e);
} catch (Exception wex) { LOG.log(Level.SEVERE, wex.getMessage(), wex); throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, base), wex);
} catch (Exception wex) { LOG.log(Level.SEVERE, wex.getMessage(), wex); throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, base), wex);
decodedOrigLocation = URLDecoder.decode(origLocation, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException( new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG,
decodedOrigLocation = URLDecoder.decode(origLocation, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException( new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG,
throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, base), e);
throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, base), e);
decodedStart = URLDecoder.decode(start, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, start), e); decodedStart = URLDecoder.decode(start, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, start), e);
throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("WSDL_NOT_FOUND", LOG, wsdl), null); throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("SCHEMA_NOT_FOUND", LOG, wsdl), null); throw wex; } catch (Exception wex) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, baseUri), wex);
decodedStart = URLDecoder.decode(start, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException(new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG, start), e);
decodedStart = URLDecoder.decode(start, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException( new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG,
decodedStart = URLDecoder.decode(start, "utf-8"); } catch (UnsupportedEncodingException e) { throw new WSDLQueryException( new org.apache.cxf.common.i18n.Message("COULD_NOT_PROVIDE_WSDL", LOG,