Package de.codecentric.cxf.xmlvalidation
Class XmlValidationInterceptor
- java.lang.Object
-
- org.apache.cxf.phase.AbstractPhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
-
- org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
-
- de.codecentric.cxf.xmlvalidation.XmlValidationInterceptor
-
- All Implemented Interfaces:
org.apache.cxf.binding.soap.interceptor.SoapInterceptor,org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
public class XmlValidationInterceptor extends org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptorApache CXF Interceptor, which is processed early in the Interceptor-Chain, that tries to analyze and handle all XML schema valdiation errors that could occur somewhere in Apache CXF´s SOAP-Processing. Refers to theSoapFaultBuilderto build a custom Soap-Fault, whenCustomFaultBuilderis implemented and configured.- Author:
- Jonas Hecht
-
-
Constructor Summary
Constructors Constructor Description XmlValidationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage)voidsetSoapFaultBuilder(SoapFaultBuilder soapFaultBuilder)-
Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTrace
-
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
-
-
-
Method Detail
-
handleMessage
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage soapMessage) throws org.apache.cxf.interceptor.Fault- Throws:
org.apache.cxf.interceptor.Fault
-
setSoapFaultBuilder
public void setSoapFaultBuilder(SoapFaultBuilder soapFaultBuilder)
-
-