Can I generate a custom SOAP fault while processing XML parsing exceptions?

Solution Unverified - Updated -

Issue

I have a custom fault defined in my WSDL, and I want to have that fault used when sending an error response back to clients that failed schema or parsing validation. Is this possible?

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.x
  • JBossWS/CXF
  • JAXB (Java Architecture for XML Binding)

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.