Class 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 a Bean, which must implement CustomFaultBuilder. Additionally, a Bean of Type Endpoint which configures a EndpointImpl is needed.
    Author:
    Jonas Hecht
    • Field Detail

      • endpoint

        @Autowired
        public Endpoint endpoint
    • Constructor Detail

      • XmlValidationConfiguration

        public XmlValidationConfiguration()
    • Method Detail

      • soapInterceptor

        @Bean
        public org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor soapInterceptor()