CXF - Jaxws issue in Jboss AS 7: org.apache.cxf.staxutils.DepthExceededStaxException: reach the innerElementCountThreshold:50000
问题 I am facing an exception in Jaxws client while processing a SOAP webservice response, which is huge. This was working perfectly in Jboss 5.1. But I upgraded the Jboss to AS 7 and started getting below error. Caused by: javax.xml.ws.soap.SOAPFaultException: reach the innerElementCountThreshold:50000 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) at com.sun.proxy.$Proxy41.getAllJobHistory(Unknown Source) at com.ep.service.impl.StatusSearchServiceImpl.findAll