You should be able to do this easily by using a module. We do this to show
statistics in the WSO2 Web Services Application Server (WSO2 WSAS)  [1]
which is built on top of Axis2. We have done this by using a module.

Thanks,
Keith.

[1] http://wso2.org/projects/wsas

On Fri, Dec 12, 2008 at 4:04 PM, Michele Mazzucco <
michele.mazzu...@ncl.ac.uk> wrote:

> 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
>>
>>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Reply via email to