Dan,

Thank you. In my case, the application clients will be running on a
different system. They are all non-Java clients, each will contain a
simple web server process. The communication between the server and
client are purely SOAP based. We don't have luxury to use Java API.
Looks like I have to find out the underline raw SOAP message for the
subscription 'destroy' operation [actually for all the notification
operations] so that the non-java clients will be able to
subscribe/unsubscribe, and receive notifications. I believe TCPMon
could be in help.

Ramesh

On 12/8/06, Daniel Jemiolo <[EMAIL PROTECTED]> wrote:
The NotificationProducerClient.subscribe() method returns a
SubscriptionClient. This object can be used to communicate with the
ws-resource that represents your subscription. You can "unsubscribe" by
destroying the subscription resource:

NotificationProducerClient producer = new NotificationProducerClient(...);
SubscriptionClient sub = producer.subscribe(...);

//
// this will invoke WS-RL Destroy
//
sub.destroy();


You can also use setTerminationTime() to schedule the subscription for a
later time (rather than immediately).

Dan



"Ramesh Gurunathan" <[EMAIL PROTECTED]> wrote on 12/08/2006
04:49:51 AM:

> Hi,
>
> In the wsn-consumer sample, "WsnTestClient.java" demonstrates how to
> subscribe to a Topic.  But I couldn't see anywhere how to unsubscribe
> from a topic. Can you give me some pointers please? thanks
>
> Ramesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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



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

Reply via email to