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