Examples of WSIFWSDLLocatorImpl


Examples of org.apache.wsif.wsdl.WSIFWSDLLocatorImpl

     * @param def The Definition object representing the wsdl
     * @param table The Map to proulate with xml type -> Java class name (QName -> String) mappings
     * @param loader A ClassLoader to use in resolving xsd locations
     */
    public static void getTypeMappings(Definition def, Map table, ClassLoader loader) throws WSIFException {
    WSDLLocator  locator = new WSIFWSDLLocatorImpl((String) null, (String) null, loader);
        getTypeMappings(def, table, true, locator);
    }
View Full Code Here

Examples of org.apache.wsif.wsdl.WSIFWSDLLocatorImpl

    public static void getTypeMappings(
      Definition def,
      Map table,
      ClassLoader loader,
      boolean includeStandardMappings) throws WSIFException {
    WSDLLocator  locator = new WSIFWSDLLocatorImpl((String) null, (String) null, loader);
        getTypeMappings(def, table, includeStandardMappings, locator);
    }
View Full Code Here

Examples of org.apache.wsif.wsdl.WSIFWSDLLocatorImpl

        boolean includeStandardMappings,       
        WSDLLocator loc) throws WSIFException {

    Trc.entry(null, def, table, new Boolean(includeStandardMappings), loc);
    if (loc == null) {
      loc = new WSIFWSDLLocatorImpl((String) null, (String) null, null);
    }
             
        ArrayList schemaList = new ArrayList();
        getTypesSchemas(def, schemaList, loc);
   
View Full Code Here

Examples of org.apache.wsif.wsdl.WSIFWSDLLocatorImpl

        WSDLFactory factory = WSDLFactory.newInstance(
            WSIFConstants.WSIF_WSDLFACTORY);
        WSDLReader wsdlReader = factory.newWSDLReader();
        wsdlReader.setFeature(Constants.FEATURE_VERBOSE, false);
        WSIFWSDLLocatorImpl lo = null;
        try {
            lo = new WSIFWSDLLocatorImpl(documentBase, reader, cl);
            Definition def = wsdlReader.readWSDL(lo);
            Trc.exitExpandWsdl(def);
            return def;
        } catch (WSDLException e) {
            Trc.exception(e);
            MessageLogger.log("WSIF.0002E", documentBase);
            throw e;
        } finally {
          try {
            if (lo != null) lo.close();
          } catch (IOException ioe) {
            //ignore
            Trc.ignoredException(ioe);
          }
        }
View Full Code Here

Examples of org.apache.wsif.wsdl.WSIFWSDLLocatorImpl

        WSDLFactory factory = WSDLFactory.newInstance(
            WSIFConstants.WSIF_WSDLFACTORY);
        WSDLReader wsdlReader = factory.newWSDLReader();
        wsdlReader.setFeature(Constants.FEATURE_VERBOSE, false);
        WSIFWSDLLocatorImpl lo = null;

        try {
            String url = (contextURL == null) ? null : contextURL.toString();
            lo = new WSIFWSDLLocatorImpl(url, wsdlLoc, cl);
            Definition def = wsdlReader.readWSDL(lo);
            Trc.exitExpandWsdl(def);
            return def;
        } catch (WSDLException e) {
            Trc.exception(e);
            MessageLogger.log("WSIF.0002E", wsdlLoc);
            throw e;
        } finally {
          try {
            if (lo != null) lo.close();
          } catch (IOException ioe) {
            //ignore
            Trc.ignoredException(ioe);
          }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.