Package com.ibm.wsdl

Examples of com.ibm.wsdl.TypesImpl


            ZipEntry entry;
            String entryName = "";

            Schema schema;
            Types types = new TypesImpl();
            definition.setTypes(types);

            while ((entry = zipInputStream.getNextEntry()) != null) {
                entryName = entry.getName();
                if (entryName.startsWith(XMLBeansExtension.SCHEMA_FOLDER) && entryName.endsWith(".xsd")) {
                    InputStream schemaEntry = axisService.getClassLoader().getResourceAsStream(entryName);
                    schema = new SchemaImpl();
                    Document document = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(schemaEntry);
                    schema.setElement(document.getDocumentElement());
                    types.addExtensibilityElement(schema);
                }
            }
        } catch (IOException e) {
            throw new AxisFault(e);
        } catch (ParserConfigurationException e) {
View Full Code Here

TOP

Related Classes of com.ibm.wsdl.TypesImpl

Copyright © 2018 www.massapicom. 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.