Register / Login
Win a copy of
Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA)
this week in the
Axis2 limit incoming response.
posted 3 years ago
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.
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.