Incoming Message Size Limitations  Locate

To constrain the admissible length of a message which can be processed by a Web service, you may use the message size interceptor. This service scope interceptor lets you set a per-service limit on the length of incoming messages. It is simple to use; it is typically managed in runtime using either the Administration Console or the Admin Service.

Next we will describe in detail how the message size is checked. The interceptor counts incoming data as follows:

Assumed:

Ignored:

If a message is too long, the exception InputSizeException is thrown.

[Note]Note

Changes made using methods for message size interceptor management to the service interceptor chain typically have no persistent effect. To make the use of message size interceptor permanent, you must store interceptor chain for the service using the interceptorControl() method. (Do this either by invoking Admin Service or through the Administration Console.)