You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Sriram Vaidyanathan <Sr...@Copart.Com> on 2008/10/14 19:41:10 UTC

Threshold for File size in MTOM

Hello Axis Users,
     I am new to MTOM processing using Axis2. In MTOM, is there a way to
specify the maximum attachment size on the server so that anything
exceeding that size is rejected. Can this achieved by configuration or
should I need to use a custom handler to enforce this limit. Any insight
on this would be appreciated.

Thanks
Sriram


Re: Threshold for File size in MTOM

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi,Currently it's not possible to specify this from Axis2..

IIRC somebody in this list earlier mentioned that it is possible to
configure your servlet container to limit the incoming message size..May be
that'll help as a work around.

thanks,
Thilina

On Tue, Oct 14, 2008 at 1:41 PM, Sriram Vaidyanathan <
Sriram.Vaidyanathan@copart.com> wrote:

>  Hello Axis Users,
>
>      I am new to MTOM processing using Axis2. In MTOM, is there a way to
> specify the maximum attachment size on the server so that anything exceeding
> that size is rejected. Can this achieved by configuration or should I need
> to use a custom handler to enforce this limit. Any insight on this would be
> appreciated.
>
> Thanks
>
> Sriram
>
>


-- 
Thilina Gunarathne  - http://thilinag.blogspot.com