axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinath Perera <hemap...@gmail.com>
Subject Re: limitting the size of SOAP response
Date Tue, 08 Sep 2009 03:01:50 GMT
Hi Geetha;

One way to do this is to add a new Handler (through a module)  where
you have access to the response message. I am not exactly sure how you
can find the current size, but you can acess current response and edit
it from a Handler.
See http://ws.apache.org/axis2/1_5/modules.html

Thanks
Srinath

On Sat, Jul 4, 2009 at 11:19 PM, G Ratnam<geetha.ratnam@yahoo.com> wrote:
>
> All,
> We have a requirement that the size of the response SOAP xml need to be
> restricted as the client consuming our web service can accept a response of
> maximum size of 100KB.
>
> If the complete response for a particular request exceeds the size limit, we
> need to restrict the data we send as the response.
>
> Is there any possibility that we can intercept the response problematically
> and amend the response. OR please let me know if there are any other better
> way to achieve this.
>
> Thanks
> --
> View this message in context: http://www.nabble.com/limitting-the-size-of-SOAP-response-tp24336597p24336597.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>



-- 
============================
Srinath Perera, Ph.D.
   WSO2 Inc. http://wso2.com
   Blog: http://srinathsview.blogspot.com/

Mime
View raw message