The IBM® Content
Classification server returns an error when you send
requests that contain large amounts of data.
Symptoms
When a request that contains a large amount of data is sent to the Content Classification server, the following error is
returned:
Soap request length violation.
Causes
By default, the total size of all text and binary fields in a single request cannot
exceed 50 MB.
Resolving the problem
To resolve this problem, you can increase the data size limit for requests.
Important: Increasing the data size limit can affect system resources and
performance. Ensure that you increase the value only as much as needed to send your
requests to the server.
- In the Management Console, click and click Set System Variable.
- Specify the parameter name BanterServer/MaxDataSizeM and
specify the maximum data size in megabytes.
The data size limit is enforced by the following API operations:
- AnalyzeText
- AnalyzeTextDocument
- ConvertCharsetToUnicode
- CreateText
- CreateTextBinary
- CreateTextDocument
- Decide
- DecideFeedback
- GetSignificantText
- IdentifyLanguage
- IdentifyLanguageAndCharset
- SubmitFeedback
- SubmitFeedbackDocument
- Suggest
- SuggestBinary
- SuggestDocument