
de.codecentric.cxf.xmlvalidation.CustomFaultBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cxf-spring-boot-starter Show documentation
Show all versions of cxf-spring-boot-starter Show documentation
Boot starter for SOAP-Webservices with Apache CXF using JAX-WS & JAXB with Annotations only
package de.codecentric.cxf.xmlvalidation;
import org.springframework.context.annotation.Bean;
import de.codecentric.cxf.common.FaultType;
/**
* Implement this Interface and configure a Spring {@link Bean} to activate extended XML schema validation and Soap-Fault behavior.
*
* @author Jonas Hecht
*
*/
public interface CustomFaultBuilder {
public String createCustomFaultMessage(FaultType faultType);
public Object createCustomFaultDetail(String originalFaultMessage, FaultType faultType);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy