axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas" <dava...@gmail.com>
Subject Re: [axis2] Pinging capability to services deployed in Axs2
Date Tue, 06 Feb 2007 18:32:21 GMT
Sameera,

Why should we extend the API? Is it not possible to do this with a
custom ping module with appropriate handlers?

thanks,
dims

On 2/6/07, Sameera Madushan <sameera.madushan@gmail.com> wrote:
> 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.
>
> In order to identify ping requests soapaction can be used. Based on the
> soapaction "ping handler" can invoke the ping method of message receiver.
>
> Thanks
> Sameera Madushan
>
>


-- 
Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message