How to replace a SOAP Fault with a non-Fault response with a CXF interceptor

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.