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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content