How to throw an exception from a SOAP handler and have it converted into a SOAP fault
Issue
I want to be able to throw a custom Exception from my SOAP handler and have the Exception object be converted into XML within a SOAP fault.
Environment
- JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
- JBossWS
- JAX-WS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
