What about using a custom handler with a null output stream?
Michele
On 11 Dec 2008, at 23:42, Dave Meibusch wrote:
Hi,
I'm attempting to log statistics for my system, including the bytes
sent/received for the components using Axis2 client code.
Digging through the source of HttpClient, HttpMethod (latter is
accessible from
Axis2 MessageContext) has not been successful. The Content-Length
HTTP header is
not reliable (in particular with Chunking enabled).
I'm not that hopeful, but perhaps someone has been down a similar
path before me?
thanks,
Dave