You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Kasun Indrasiri <ka...@gmail.com> on 2008/04/25 12:40:14 UTC
Using Savan/C among two service
Hi all,
I used Savan/C to implement the federated sign-out mechanism based on
WS-Eventing. I've encountered a scenario where several services(Subscribers)
subscribing to a particular service (Publisher) and registering their
interest of receiving notifications.
Savan samples use a particular client (Subscriber) to subscribe to a service
(Publisher) and the notification end-point is another service called
'listener'. If we are using Savan among two services, there is an issue of
at which time we should send the subscribing message to a publisher. The
most prescribed time of doing that is at the initiation (init) of a service.
Is there a way to do this sort of things at the initiation of a service
using Axis2/c.
Thanks,
Kasun.
Re: Using Savan/C among two service
Posted by Damitha Kumarage <da...@gmail.com>.
Kasun Indrasiri wrote:
> Hi all,
>
> I used Savan/C to implement the federated sign-out mechanism based on
> WS-Eventing. I've encountered a scenario where several
> services(Subscribers) subscribing to a particular service (Publisher)
> and registering their interest of receiving notifications.
>
> Savan samples use a particular client (Subscriber) to subscribe to a
> service (Publisher) and the notification end-point is another service
> called 'listener'. If we are using Savan among two services, there is
> an issue of at which time we should send the subscribing message to a
> publisher. The most prescribed time of doing that is at the initiation
> (init) of a service.
> Is there a way to do
> this sort of things at the initiation of a service using Axis2/c.
You can set the service parameter loadServiceAtStartup as
<parameter name="loadServiceAtStartup">true</parameter>
To initialize a service at server startup time.
Note that instead of using another service as listener you may use a
callback set by the subscriber.
thanks,
Damitha.
>
> Thanks,
> Kasun.
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org