Package org.apache.axis2.soap.impl.dom.soap11

Examples of org.apache.axis2.soap.impl.dom.soap11.SOAP11FaultImpl


            throw new SOAPException("A SOAPBodyElement has been already added to this SOAPBody");
        }
        SOAPFaultImpl saajSOAPFault = null;

        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            SOAP11FaultImpl fault =
                    new SOAP11FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
        } else if (this.element.getOMFactory() instanceof SOAP12Factory) {
            SOAP12FaultImpl fault =
                    new SOAP12FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
View Full Code Here


     */
    public SOAPFault addFault(Name faultCode, String faultString, Locale locale)
            throws SOAPException {
        org.apache.axiom.soap.SOAPFault fault;
        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            fault = new SOAP11FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        } else {
            fault = new SOAP12FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        }
View Full Code Here

    public SOAPFault addFault(QName faultCode, String faultString, Locale locale)
            throws SOAPException {
        SOAPFaultImpl faultImpl = null;

        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            SOAP11FaultImpl fault = new SOAP11FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
            faultImpl = new SOAPFaultImpl(fault);
        } else if (this.element.getOMFactory() instanceof SOAP12Factory) {
            SOAP12FaultImpl fault = new SOAP12FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
View Full Code Here

                    if (omSOAPBody.hasFault()) {

                        SOAPFactory omFactory = (SOAPFactory)this.element.getOMFactory();
                        org.apache.axiom.soap.SOAPFault fault;
                        if (omFactory instanceof SOAP11Factory) {
                            fault = new SOAP11FaultImpl(omSOAPBody, omFactory);
                        } else {
                            fault = new SOAP12FaultImpl(omSOAPBody, omFactory);
                        }
                        SOAPFaultImpl saajSOAPFault = new SOAPFaultImpl(fault);
                        ((NodeImpl)omSOAPBody.getFault())
View Full Code Here

            throw new SOAPException("A SOAPBodyElement has been already added to this SOAPBody");
        }
        SOAPFaultImpl saajSOAPFault = null;

        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            SOAP11FaultImpl fault =
                    new SOAP11FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
        } else if (this.element.getOMFactory() instanceof SOAP12Factory) {
            SOAP12FaultImpl fault =
                    new SOAP12FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
View Full Code Here

     */
    public SOAPFault addFault(Name faultCode, String faultString, Locale locale)
            throws SOAPException {
        org.apache.axiom.soap.SOAPFault fault;
        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            fault = new SOAP11FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        } else {
            fault = new SOAP12FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        }
View Full Code Here

    public SOAPFault addFault(QName faultCode, String faultString, Locale locale)
            throws SOAPException {
        SOAPFaultImpl faultImpl = null;

        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            SOAP11FaultImpl fault = new SOAP11FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
            faultImpl = new SOAPFaultImpl(fault);
        } else if (this.element.getOMFactory() instanceof SOAP12Factory) {
            SOAP12FaultImpl fault = new SOAP12FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
View Full Code Here

                    if (omSOAPBody.hasFault()) {

                        SOAPFactory omFactory = (SOAPFactory)this.element.getOMFactory();
                        org.apache.axiom.soap.SOAPFault fault;
                        if (omFactory instanceof SOAP11Factory) {
                            fault = new SOAP11FaultImpl(omSOAPBody, omFactory);
                        } else {
                            fault = new SOAP12FaultImpl(omSOAPBody, omFactory);
                        }
                        SOAPFaultImpl saajSOAPFault = new SOAPFaultImpl(fault);
                        ((NodeImpl)omSOAPBody.getFault())
View Full Code Here

            throw new SOAPException("A SOAPBodyElement has been already added to this SOAPBody");
        }
        SOAPFaultImpl saajSOAPFault = null;

        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            SOAP11FaultImpl fault =
                    new SOAP11FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
        } else if (this.element.getOMFactory() instanceof SOAP12Factory) {
            SOAP12FaultImpl fault =
                    new SOAP12FaultImpl(omSOAPBody, (SOAPFactory)this.element.getOMFactory());
            saajSOAPFault = new SOAPFaultImpl(fault);
View Full Code Here

     */
    public SOAPFault addFault(Name faultCode, String faultString, Locale locale)
            throws SOAPException {
        org.apache.axiom.soap.SOAPFault fault;
        if (this.element.getOMFactory() instanceof SOAP11Factory) {
            fault = new SOAP11FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        } else {
            fault = new SOAP12FaultImpl(omSOAPBody, new Exception(
                    faultString), (SOAPFactory)this.element.getOMFactory());
        }
View Full Code Here

TOP

Related Classes of org.apache.axis2.soap.impl.dom.soap11.SOAP11FaultImpl

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.