Package org.apache.servicemix.soap.api

Examples of org.apache.servicemix.soap.api.Fault


            }
        } else {
            try {
                return getXMLInputFactory().createXMLStreamReader(source);
            } catch (XMLStreamException e) {
                throw new Fault(e);
            }
        }
    }
View Full Code Here


   
    public static XMLStreamWriter createWriter(OutputStream os, String encoding) {
        try {
            return getXMLOutputFactory().createXMLStreamWriter(os, encoding);
        } catch (XMLStreamException e) {
            throw new Fault(e);
        }
    }
View Full Code Here

            // Put main source
            getContent(nm, message);
            // Register new content
            message.setContent(NormalizedMessage.class, nm);
        } catch (JBIException e) {
            throw new Fault(e);
        }
    }
View Full Code Here

    }

    protected Wsdl1SoapOperation getOperation(Message message) {
        Operation operation = message.get(Operation.class);
        if (operation == null) {
            throw new Fault("Operation not bound on this message");
        }
        if (operation instanceof Wsdl1SoapOperation == false) {
            throw new Fault("Message is not bound to a WSDL 1.1 SOAP operation");
        }
        return (Wsdl1SoapOperation) operation;
    }
View Full Code Here

TOP

Related Classes of org.apache.servicemix.soap.api.Fault

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.