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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]