Hi Kumar,

wsabi4axis (http://www.sourceforge.net/projects/wsabi4axis) will fit some of
your needs.  We have a handler that can be configured on the <requestFlow> and
<responseFlow> of your service.  It will capture the amount of time it takes to
process the request inside the Axis Engine where your web service resides.  In
addition, it will also capture the request/response envelopes which are all
viewable via the web based admin console.

To see this in action, goto http://demo.wsabi.org/monitor/index.do.  Select
"YahooUserPingService" from the Service drop-down and select a Time Period
(yesterday, today, etc.).  You will see response times and other information. 
Further drill-down will allow you to display the request/response envelopes and
transport headers.

Thanks,
  Al


Quoting Kumar <[EMAIL PROTECTED]>:

> Hi All,
>
> I have exposed a EJB method as a web service using AXIS, WebSphere 5.1
> on the server side and  also used AXIS on the client side . Now I want
> to have metrics for below :
>
>
> 1. Time taken to send a request (soap message) to the service
> 2. Time taken to send a response (soap message) to the client
> 3. Total roundtrip time taken for the whole request/response cycle.
>
>
> Now I am novice to various ways of measuring the roundrip time other than
> using
> "System.currentTimeMillis()" as show below between web service call
> invocations.
>
> public class Client {
>       private String m_target;
>       private AmalWSImplBindingStub m_proxy;
>
>       private void query() throws Exception {
>               try {
>                       m_proxy = (AmalWSImplBindingStub)new
> AmalWSImplInterfaceServiceLocator().getAmalWSImpl();
>                       int startTime = System.currentTimeMillis();
>                       String ret1 = m_proxy.capturedPCNList("amla");
>                       int endTime = System.currentTimeMillis();
>               }
>               catch (Exception e) {
>               }
>       }
> }
>
>
> I know that request and response times start on various parameters
> like the network bandwidth, application server, hardware resources
> etc. but I want to arrive at some metric calculations purely on web
> service calls made by axis, the time taken for (de)serializing by axis
> it etc. etc.   Are there any (free for personal use) tools out there
> that can monitor and log the response times of web service  endpoints.
> Can anybody please share their knowledge and experiences and help me
> to starup this metric calculation.
>
>
>
> Thanks & Regards,
> Kumar.
>


Reply via email to