Hi Sameera ;

> Hi all,
>
> Managing the deployed web services is becoming mandatory and
> important, because the usage of web services is increasing in the
> enterprise. One requirement which can arise in managing the web
> services is to monitor the availability of the services and to check
> the status of the services whether they are up and running. And also
> service managers may need to perform these activities periodically. In
> some cases, services can be down for maintenance, then there has to be
> a way for the requesters to check its availability.
>
> In the current situation invoking the service is the only option to
> get the status of the services. But invoking each and every service
> for this purpose is not a good idea either.
>
> The above requirements can be satisfied by introducing a pinging
> capability to the service deployed in Axis2. Here is how it happens.
> Users can send ping requests to the specified services. For these
> requests, ping responses can be sent indicating service status.
>
> Extending the AbstractMessageReceiver api with a method(say ping)
> which returns a boolean value, will enable message receiver
> implementors to write their own logic to test the status of the
> service. For an example in this ping method, one can check whether the
> required dependencies for the service is available or not.

I dont see any requirement of changing API , if you want to know the
service is up and running then what you can do is get the service state
from AxisConfiguration. You can get the status of the service from
AxisConfiguration where it is active or not.

Thanks
Deepal
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to