Considerations when designing processes that make Web Service calls
Number of records retrieved in a query
Queries that generate an unusually large number of hits could fail. The Apache Organization provides some guidelines for CXF settings. A section is reproduced here. Refer to the Apache CXF pages for complete details (http://cxf.apache.org/docs/security.html#Security-XML).
Setting | Default | Description |
---|---|---|
org.apache.cxf.stax.maxChildElements | 50000 | Maximum number of child elements for a given parent element |
org.apache.cxf.stax.maxElementDepth | 100 | Maximum depth of an element |
org.apache.cxf.stax.maxAttributeCount | 500 | Maximum number of attributes on a single element |
org.apache.cxf.stax.maxAttributeSize | 64K | Maximum size of a single attribute |
org.apache.cxf.stax.maxTextLength | 128M | Maximum size of an elements text value |
org.apache.cxf.stax.maxElementCount | Long.MAX_VALUE | Maximum total number of elements in the XML document |
org.apache.cxf.stax.maxXMLCharacters | Long.MAX_VALUE | Maximum total number of characters parsed by the parser |