Package org.apache.geronimo.xbeans.j2ee

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


    }
   
    public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        XmlObject webservicesType = getWebservicesType(wsDDUrl);
        if (webservicesType instanceof WebservicesType) {
            WebservicesType webServices = (WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else if (webservicesType instanceof org.apache.geronimo.xbeans.javaee.WebservicesType) {
            org.apache.geronimo.xbeans.javaee.WebservicesType webServices = (org.apache.geronimo.xbeans.javaee.WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else {
View Full Code Here


    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

    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<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
            WebservicesType webservicesType = getWebservicesType(wsDDUrl);
        if (webservicesType != null) {
            return parseWebServiceDescriptor(webservicesType, moduleFile, isEJB, servletLocations);
        } else {
            return null;
        }
View Full Code Here

    }
   
    public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        XmlObject webservicesType = getWebservicesType(wsDDUrl);
        if (webservicesType instanceof WebservicesType) {
            WebservicesType webServices = (WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else if (webservicesType instanceof org.apache.geronimo.xbeans.javaee.WebservicesType) {
            org.apache.geronimo.xbeans.javaee.WebservicesType webServices = (org.apache.geronimo.xbeans.javaee.WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else {
View Full Code Here

    }
   
    public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        XmlObject webservicesType = getWebservicesType(wsDDUrl);
        if (webservicesType instanceof WebservicesType) {
            WebservicesType webServices = (WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else if (webservicesType instanceof org.apache.geronimo.xbeans.javaee.WebservicesType) {
            org.apache.geronimo.xbeans.javaee.WebservicesType webServices = (org.apache.geronimo.xbeans.javaee.WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else {
View Full Code Here

    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

    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

    }

    public static Map<String,PortInfo> parseWebServiceDescriptor(URL wsDDUrl, JarFile moduleFile, boolean isEJB, Map servletLocations) throws DeploymentException {
        XmlObject webservicesType = getWebservicesType(wsDDUrl);
        if (webservicesType instanceof WebservicesType) {
            WebservicesType webServices = (WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else if (webservicesType instanceof org.apache.geronimo.xbeans.javaee6.WebservicesType) {
            org.apache.geronimo.xbeans.javaee6.WebservicesType webServices = (org.apache.geronimo.xbeans.javaee6.WebservicesType)webservicesType;
            return parseWebServiceDescriptor(webServices, moduleFile, isEJB, servletLocations);
        } else {
View Full Code Here

    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.WebservicesType

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.