Package org.reficio.ws

Examples of org.reficio.ws.SoapValidationException


    public void validateSoapRequestMessage(Binding binding, BindingOperation operation, String message, boolean strict) {
        WsdlValidator validator = new WsdlValidator(messageBuilder, binding);
        List<AssertionError> result = validator.assertRequest(operation, message, strict);
        if (!result.isEmpty()) {
            throw new SoapValidationException(result);
        }
    }
View Full Code Here


    public void validateSoapResponseMessage(Binding binding, BindingOperation operation, String message, boolean strict) {
        WsdlValidator validator = new WsdlValidator(messageBuilder, binding);
        List<AssertionError> result = validator.assertResponse(operation, message, strict);
        if (!result.isEmpty()) {
            throw new SoapValidationException(result);
        }
    }
View Full Code Here

TOP

Related Classes of org.reficio.ws.SoapValidationException

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.