SAP Knowledge Base Article - Preview

2780464 - Facing "Maximum Number of Children Elements Exceeded" error when sending messages with huge payload

Symptom

When trying to send messages with over 50 MB payload size through the Java WebService Adapter, the message processing fails and the following exception occurs:

 [EXCEPTION]

org.apache.cxf.interceptor.Fault: Could not parse the XML stream caused by: javax.xml.stream.XMLStreamException: Maximum Number of Children Elements Exceeded.

at org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:292)

at org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:154)

at org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:79)

at org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:63)


Read more...

Environment

  • SAP NetWeaver 7.1
  • SAP enhancement package 1 for SAP NetWeaver 7.1
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5

Product

SAP NetWeaver Process Integration, adapters 1.1

Keywords

 Process Integration 7.10, PI 7.10, Process Integration 7.11, PI 7.11, Process Integration 7.30, PI 7.30, Process Integration 7.31, PI 7.31, Process Orchestration 7.40, PI 7.40, PO 7.40, Process Orchestration 7.50, PI 7.50, PO 7.50, NetWeaver, XI, Maximum Number of Children Elements Exceeded, innerElementCountThreshold, Java WebService Adapter, WS_AAE , KBA , BC-XI-CON-JWS , Java Web Service Adapter , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.