Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 4 Polling Subscription API : Introduction

Introduction
The common way to monitor changes in a UDDI registry is to create a subscription and save it in the UDDI registry. When creating a subscription, you can specify the entities you want to monitor by setting searching criteria for the subscription, through which only the entities matching the searching criteria are monitored. You can also set the time period when the subscription will be valid. Once a subscription is created and saved, the UDDI server will record the changes of the entities matching the search criteria in the specified time period and will stop recording when the subscription period expires.
After you save a subscription in the registry, the UDDI server normally adopts one of the two mechanisms to notify you of entity changes: the synchronous tracking mechanism and the asynchronous notification mechanism. When adopting the synchronous tracking mechanism, a client obtains information about entity changes by sending HTTP-based SOAP messages to the UDDI server. When adopting the asynchronous notification mechanism, however, you need to create an HTTP-based web service and register the web service endpoint in the registry as a notification listener, or register an e-mail address in the registry. The UDDI registry will then periodically send information about entity changes to the listener service or to the registered e-mail address.
TIBCO ActiveMatrix Runtime UDDI Server supports both mechanisms. The get_subscriptionResults API is the standard API for tracking entity changes synchronously. As the API does not have a wrapper level and it requires the start time and end time each time it is called, TIBCO provides a proprietary API based on this API to manage subscriptions and the start/end time. The API is known as Polling Subscription API. It provides an easy way to call the get_subscriptionResults API.
For information about the standard subscription APIs, see Section 5.5 Subscription API Set and Appendix C Supporting Subscribers in UDDI Version V3.0.2 at http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908128 and http://www.uddi.org/pubs/uddi_v3.htm#_Toc85908401.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved