When the payload is invalid, this interceptor stops processing of the interceptor chain. Additionally, if the message is a SOAP request message, a SOAP Fault is created as reply. Invalid SOAP responses do not result in a fault.
The schema to validate against is set with the {@code schema} property or {@code schemas} property. Bydefault, only the request message is validated, but this behaviour can be changed using the {@code validateRequest} and {@code validateResponse} properties. Responses that contains faults are notvalidated. @author Arjen Poutsma @see #setSchema(org.springframework.core.io.Resource) @see #setSchemas(org.springframework.core.io.Resource[]) @see #setValidateRequest(boolean) @see #setValidateResponse(boolean) @since 1.0.0
|
|