In fact, I engaged my custom module in the server side and the cient one. this modue enable the response-time interception. It captures the System current time, then this time wil be added as an OMElement in the header of the SOAP message, then i show it. as I configure the file axis2.xml I involve it in all of phases : InFow and OutFow and so on... at the runtime of the invocated server, the client console should show the request SOAP message with the custom tag added to the header at the time of its reception by the server (InFlow) and, the response SOAP message, also with the same custom tag but at the time of its sent by server (OutFlow).

these two intercepted times coud be shown only in the SOAP message trace, but how coud I recover the in the handler code to store them in my database in order to calculate then the diffrence, i have no idea??


Andreas Veithen a écrit :
Can you please explain your requirement more precisely? From your
explanation it is not clear where the two measures are taken, what
exactly is communicated in the SOAP headers and where you want to
calculate the difference.

Andreas

On Fri, Aug 7, 2009 at 15:29, Asma Maalej<[email protected]> wrote:
Hello

i'm working on the monitoring web services, using axis2-1.4.1 and tomcat
6.0.18.
I have to intercept QoS parameters like response-time. to do that, I should
capture in the handler code the  System.currentTimeMillis() and add it to
the SOAPheader of the SOAP message. of course, this handler must to be
involved in InFlow and the OutFlow.

My problem is how could I recover these 2 values, cause now I can have only
one which is at the time of the reception of request SOAP message. but the
one at the moment of sending response SOAP message, I have no idea, how
could I do that

Any idea please?



Reply via email to