[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: [uddi-comment] Questions about Subscription API (UDDI v3)
Hi Tom, I appologize for the incomprehensible diagram, which was made by conversion to a proportional font. Suppose the subscription ("find businesses named A") was established at time t(0). t(n+1) is the time of the last notification and t(n) is the time of notification just before. The business named "A" was created and deleted at some point in the (t(n), t(n+1)) time period. MUST or SHOULD business "A" appear in the notification in time t(n+1)? It seems UDDI would report only the deletion of business "A", whose creation has been already reported (suppose UDDI knows all the results of synchronous/asynchronous notifications of this subscription and no synchonous get_subscriptionResult was called in the time between the creation and deletion of business "A"). Thanks, Ales ----- Original Message ----- From: "Tom Bellwood" <bellwood@us.ibm.com> To: "Ales Lipovy" <lipovy@systinet.com> Cc: <uddi-comment@lists.oasis-open.org>; <uddi-spec@lists.oasis-open.org> Sent: Thursday, September 05, 2002 7:09 AM Subject: Re: [uddi-comment] Questions about Subscription API (UDDI v3) Hi Ales, Let me try to address your questions. For item 1), from your diagram & description it is not preciely clear to me when business A is created and when it is deleted. So I'll assume that it is created before T(0), and deleted sometime between T(n) and T(n+1). If that's not right, please correct me. Anyway, given these assumptions, you won't hear about business A with your first notification. You can find out about it though by using the get_subscriptionResults API and specifying a startPoint earlier than the last change date for A, or none at all, which defaults you to the beginning of the registry. As for when A is deleted, this is a delete affecting content matching the filter criteria with which you are subscribed, so you will hear about it in a notification. The subscription feature allows you to track activity of interest which occurs after your subscription is established (unless, of course, you explicitly gather information from before that time using get_subscriptionResults). That you are not aware of business A is not considered a problem. Use of subscription data must take this into consideration. As for item 2), the two examples were never really intended to rigorously illustrate the same data across the same time span. They were merely trying to demonstrate both ways of obtaining subscription results. Your point is well taken though. We could clarify this point, but it would be better to just include the same deletions shown in the first example in both. Thanks, Tom Bellwood Phone: (512) 838-9957 (external); TL: 678/9957 (internal) OASIS UDDI Technical Committee Co-Chair Ales Lipovy <lipovy@systinet.com> on 09/04/2002 12:04:27 PM To: uddi-comment@lists.oasis-open.org cc: Subject: [uddi-comment] Questions about Subscription API (UDDI v3) Hi guys. Could somebody help me with two questions about Subscriptions/Notifications in UDDI v3? 1) We have a subscription for Business Entities, whose names start with "A", established in time t(0). Listener of this subscription receives notification message in time t(n) and t(n+1). create "A" t(0) t(n) v t(n+1) |-- ... --|-----------------| delete "A" Question: Will the deleted business "A" be in the notification that comes in time t(n+1)? I think the deletion should not be reported because the listener has never received a notification about existence of business "A". It seems UDDI would report only the deletion of business "A", whose creation has been already reported. Is that right? If not, what notifications will the subscriber get? 2) There are different results of synchronous and asynchronous calls in examples of Subscriptions - UDDI v3 specification, Appendix C (page 354). There are no keys of deleted entities in the synchronous result over the same database. Is this a bug? Ales Lipovy ---------------------------------------------------------------- To subscribe or unsubscribe from this elist use the subscription manager: <http://lists.oasis-open.org/ob/adm.pl>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC