Package de.codecentric.cxf.configuration
Class XmlValidationConfiguration
- java.lang.Object
-
- de.codecentric.cxf.configuration.XmlValidationConfiguration
-
@Configuration @ConditionalOnBean(CustomFaultBuilder.class) @ConditionalOnProperty(name="endpoint.autoinit", matchIfMissing=true) public class XmlValidationConfiguration extends Object
Configure extended XML-Schema validation incl. customizing of the responding SoapFaults. Could be activated by configuring your own FaultDetailBuilder as aBean, which must implementCustomFaultBuilder. Additionally, aBeanof TypeEndpointwhich configures aEndpointImplis needed.- Author:
- Jonas Hecht
-
-
Field Summary
Fields Modifier and Type Field Description javax.xml.ws.Endpointendpoint
-
Constructor Summary
Constructors Constructor Description XmlValidationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureInterceptor2Endpoint()SoapFaultBuildersoapFaultBuilder()org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptorsoapInterceptor()
-
-
-
Method Detail
-
configureInterceptor2Endpoint
@PostConstruct public void configureInterceptor2Endpoint()
-
soapFaultBuilder
@Bean public SoapFaultBuilder soapFaultBuilder()
-
soapInterceptor
@Bean public org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor soapInterceptor()
-
-