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, 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