Examples of FaultResponse


Examples of org.wso2.carbon.messagebox.sqs.internal.FaultResponse

            if (multipleEntryHashMap != null) {
                // get signature and signature calculating details from url parameters
                //  and verify signature
                try {
                    if (!verifySignatureOnRestBasedRequest(messageContext, multipleEntryHashMap)) {
                        throw new FaultResponse(new MessageBoxException("AuthFailure"),
                                                messageContext.getMessageID()).createAxisFault();
                    }
                } catch (SQSAuthenticationException e) {
                    throw new AxisFault(e.getMessage());
                }
            } else {
                // verify signature in soap header
                try {
                    if (!verifySignatureOnSOAPHeader(messageContext)) {
                        throw new FaultResponse(new MessageBoxException("AuthFailure"),
                                                messageContext.getMessageID()).createAxisFault();
                    }
                } catch (SQSAuthenticationException e) {
                    throw new AxisFault(e.getMessage());
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.