Large documents with SOAP

If an error message like the following is encountered, set a higher value with the system property:

org.apache.cxf.stax.maxTextLength:

javax.xml.stream.XMLStreamException: Text size limit (134217728) exceeded

ImageMaster migrations can require to increase this value temporarily during the migration. In the examples below the value “536870912” is set.

  • to add this system property:

    /system-property=org.apache.cxf.stax.maxTextLength:add(value=536870912)

  • to change the value if it is already set:

    /system-property=org.apache.cxf.stax.maxTextLength:write-attribute(name=value, value=536870912)

  • to remove this configuration if it is already set (which reverts to the default):

    /system-property=org.apache.cxf.stax.maxTextLength:remove

To set this permanently in your configuration, add this to your custom CLI script which is referenced in the ImageMaster configuration file (configureAppServer.config):

  • customCliPath=