Method and framework for the dynamic real-time specification of notification end-points for asynchronous communications using web services
Original Publication Date: 2005-Nov-02
Included in the Prior Art Database: 2005-Nov-02
The current art for implementing asynchronous notifications requires the destinations or notification end-points to be setup at build-time via a configuration step. Build-time setup and configuration requires the stopping and recycling of the run-time environment. This is not practical or acceptable to many application scenarios where there is a need to setup the asynchronous notification destination dynamically in real-time without recycling the run-time environment. This invention provides a solution to this problem by using the Web Services Definition Language (WSDL) to specify the destination dynamically. Using the methods and techniques provided by this invention a client can dynamically and in real-time specify the destination of all asynchronous notifications it wants to receive by providing the notification source with the WSDL file of the destination web service that will consume the asynchronous notifications.
Method and framework for the dynamic real -time specification of notification end -points for asynchronous communications using web services
The invention described in this disclosure allows for the dynamic specification of destinations preventing the need to predefine destinations. Destinations are provided dynamically as WSDL files as part of the subscription process. The destination in this case describes an event consumer service, as shown in the figure below.
A WSDL file contains all information to invoke the event consumer service. The event
source processes the WSDL file dynamically to generate a client proxy for invoking the
event consumer service. As events occur in the environment and are captured by the
event source, the event source will send (publish) to the event consumer all the events
that the consumer has subscribed to by invoking the event consumer service via its
client proxy that was generated from the WSDL file provided as part of the subscription.
The invention ideas described in this disclosure could be applied to implement any of
the "Publish and Subscribe" (Pub/Sub) asynchronous notification patterns described
1. Event consumer service subscribes directly to the event source specifying the events of interest and its WSDL destination. This is illustrated in the figure below.
2. An event subscriber client subscribes directly to the event source on behalf of the event consumer service specifying the events of interest and the WSDL des...