How to throw an exception from a SOAP handler and have it converted into a SOAP fault

Solution Unverified - Updated -

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.

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.