How to deal with UnmarshalException: unexpected element

Solution Verified - Updated -

Issue

  • We have several versions of our WSDL in use by various clients, and because of this clients sometimes send elements that are no longer included in our latest WSDL. How to we configure our endpoint to ignore issues with incoming SOAP messages like:

-UnmarshalException: unexpected element or
-NumberFormatException

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
    • 6.x
  • JBossWS CXF

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.