Package org.apache.geronimo.xbeans.j2ee

Examples of org.apache.geronimo.xbeans.j2ee.WebservicesDocument


            return null;
        }
    }

    private static XmlObject getJ2EEWebServices(XmlObject webservicesDocumentUntyped) throws XmlException {
        WebservicesDocument webservicesDocument;
        if (webservicesDocumentUntyped instanceof WebservicesDocument) {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
        } else {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
        }
        XmlBeansUtil.validateDD(webservicesDocument);
        return webservicesDocument.getWebservices();
    }
View Full Code Here


        return portMap;
    }

    public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        try {
            WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
            SchemaConversionUtils.validateDD(webservicesDocument);
            WebservicesType webservicesType = webservicesDocument.getWebservices();
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
View Full Code Here

        return portMap;
    }

    public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        try {
            WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
            SchemaConversionUtils.validateDD(webservicesDocument);
            WebservicesType webservicesType = webservicesDocument.getWebservices();
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
View Full Code Here

                }
            } finally {
                cursor.dispose();
            }

            WebservicesDocument webservicesDocument;
            if (webservicesDocumentUntyped instanceof WebservicesDocument) {
                webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
            } else {
                webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
            }
            XmlBeansUtil.validateDD(webservicesDocument);
            return webservicesDocument.getWebservices();
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
        }
View Full Code Here

            return null;
        }
    }

    private static XmlObject getJ2EEWebServices(XmlObject webservicesDocumentUntyped) throws XmlException {
        WebservicesDocument webservicesDocument;
        if (webservicesDocumentUntyped instanceof WebservicesDocument) {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
        } else {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
        }
        XmlBeansUtil.validateDD(webservicesDocument);
        return webservicesDocument.getWebservices();
    }
View Full Code Here

            return null;
        }
    }

    private static XmlObject getJ2EEWebServices(XmlObject webservicesDocumentUntyped) throws XmlException {
        WebservicesDocument webservicesDocument;
        if (webservicesDocumentUntyped instanceof WebservicesDocument) {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
        } else {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
        }
        XmlBeansUtil.validateDD(webservicesDocument);
        return webservicesDocument.getWebservices();
    }
View Full Code Here

        return portMap;
    }

    public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        try {
            WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
            SchemaConversionUtils.validateDD(webservicesDocument);
            WebservicesType webservicesType = webservicesDocument.getWebservices();
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
View Full Code Here

        return portMap;
    }

    public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        try {
            WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
            XmlBeansUtil.validateDD(webservicesDocument);
            WebservicesType webservicesType = webservicesDocument.getWebservices();
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
View Full Code Here

            return null;
        }
    }

    private static XmlObject getJ2EEWebServices(XmlObject webservicesDocumentUntyped) throws XmlException {
        WebservicesDocument webservicesDocument;
        if (webservicesDocumentUntyped instanceof WebservicesDocument) {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped;
        } else {
            webservicesDocument = (WebservicesDocument) webservicesDocumentUntyped.changeType(WebservicesDocument.type);
        }
        XmlBeansUtil.validateDD(webservicesDocument);
        return webservicesDocument.getWebservices();
    }
View Full Code Here

        return portMap;
    }

    public static Map parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        try {
            WebservicesDocument webservicesDocument = WebservicesDocument.Factory.parse(wsDDUrl);
            XmlBeansUtil.validateDD(webservicesDocument);
            WebservicesType webservicesType = webservicesDocument.getWebservices();
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } catch (XmlException e) {
            throw new DeploymentException("Could not read descriptor document", e);
        } catch (IOException e) {
            return null;
View Full Code Here

TOP

Related Classes of org.apache.geronimo.xbeans.j2ee.WebservicesDocument

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.