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
-
-
Constructor Summary
Constructors Constructor Description XmlValidationConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoapFaultBuildersoapFaultBuilder()org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptorsoapInterceptor()
-
-
-
Field Detail
-
endpoint
@Autowired public Endpoint endpoint
-
-
Method Detail
-
soapFaultBuilder
@Bean public SoapFaultBuilder soapFaultBuilder()
-
soapInterceptor
@Bean public org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor soapInterceptor()
-
-