File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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.
Help with HTTP I/O
Problem reading the HttpConection response in some devices
Axis2 client reading MTOM objects.
Axis2: Incoming SOAP messages: logging and validation
nio download problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014