How to replace a SOAP Fault with a non-Fault response with a CXF interceptor
Issue
- Our requirement is to monitor any SOAP Fault coming from the service implementation, and if the fault is of a specific type, send back to the client a predefined response as if no fault was raised at all. How can we accomplish this?
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.