Switchyard CXF reaches the innerElementCountThreshold:50000

Solution Unverified - Updated -


  • We are getting the following error pulling a large SOAP data message from a SOAP web service in switchyard:

    org.apache.cxf.staxutils.DepthExceededStaxException: reach the innerElementCountThreshold:50000

How can I change the org.apache.cxf.stax.maxChildElements property in a switchyard orchestration so that the CXF engine will read large SOAP messages?


  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.x
  • Apache 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