axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fyrachek <fyrac...@gmail.com>
Subject Axis2 limit incoming response.
Date Thu, 30 Aug 2012 16:40:21 GMT

I'm calling external web service with axis2.
And I want to discard response message if its size(content of the incoming
InputStream) large than N bytes.

First idea was to add custom handler to the <phaseOrder type="InFlow">.
But after debugging it looks for me like response's InputStream was already
read and converted to SoapEnvelope.

Is there any other way to do that ? To read incoming InputStream before any
Axis2's manipulation with it  and if its content length larger than N bytes-
discard response.

Thnx for any reply.
-- 
View this message in context: http://old.nabble.com/Axis2-limit-incoming-response.-tp34354334p34354334.html
Sent from the Axis - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message