A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
Axis2 limit incoming response.
Joined: Mar 29, 2011
Aug 31, 2012 05:30:20
I'm calling external web service with axis2.
And I want to discard response message if its size(content of the incoming
) 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
was already read and converted to SoapEnvelope.
Is there any other way to do that ? To read incoming
before any Axis2's manipulation with it and if its content length larger than N bytes- discard response.
Another idea is to create my custom Message Builder
Thanks for any reply.
I agree. Here's the link:
subject: Axis2 limit incoming response.
Problem reading the HttpConection response in some devices
nio download problem
Axis2: Incoming SOAP messages: logging and validation
Help with HTTP I/O
Axis2 client reading MTOM objects.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015