OK, So I've been looking at the spec some more and the Muse implementation doesn't seem to match the 1.3 released specification... It seems to be using the RL 'Destroy' unstead of unubscribe for instance...
Steve -----Original Message----- From: Steve Jerman (stjerman) Sent: Saturday, December 16, 2006 11:32 AM To: [email protected] Subject: RE: unsubscribe notifications Hi Folks, I started looking at this and discovered a problem (I may just be imagining this but ....) So the WSDL in the Muse repo http://svn.apache.org/viewvc/webservices/muse/trunk/modules/muse-wsn-api /specs/WS-BaseNotification-1_3.wsdl?revision=438334&view=markup which I think should match the WSDL from the WSN 1.3 spec, doesn't. Specifically, there is no definition for the base subscription manager port type (which is where unsubscribe is defined). The messages are defined earlier on.. I can cut and paste from the standard, but it would be good if this file was updated to match the spec... Steve -----Original Message----- From: Vinh Nguyen (vinguye2) Sent: Friday, December 15, 2006 2:00 PM To: [email protected] Subject: RE: unsubscribe notifications Thanks Dan, I saw the SubscriptionClient.destroy() method, but I wasn't sure if it actually unsubscribed itself since the javadocs didn't mention it. This brings up the next few questions: 1) To support unsubscribe, I assume that the producer resource must define an "unsubscribe" capability. Would this be done by including the following action mapping in service.xml (or something similar since I just renamed it from the SubscribeRequest action)? <actionMapping>http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/ UnsubscribeRequest</actionMapping> 2) If the client accidentally releases the SubscriptionClient object reference and it gets gc'd, will it automatically unsubscribe itself? If not, is there another route which the subscriber can still call the producer to unsubscribe? Perhaps directly call the "unsubscribe" capability mentioned above? 3) If a subscriber goes down, and the producer can't get the notifications across to the subscriber, what does the producer do? Do is continue to try and send the notifications, or stop them completely? -Vinh -----Original Message----- From: Daniel Jemiolo [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 11:39 AM To: [email protected] Subject: Re: unsubscribe notifications Hi - I think this is the answer you're looking for: http://marc.theaimsgroup.com/?l=muse-user&m=116559218207332&w=2 "Vinh Nguyen \(vinguye2\)" <[EMAIL PROTECTED]> wrote on 12/15/2006 02:32:53 PM: > What is the proper way for a client to unsubscribe from notifications? > There's a NotificationProducerClient.subscribe() method, but no > corresponding unsubscribe(). --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
