Package org.ws4d.java.message.eventing

Implements the various WS-Eventing related messages: subscribe, unsubscribe, subscription end, renew and get status.

See:
          Description

Class Summary
EventingResponseMessage  
GetStatusMessage  
GetStatusResponseMessage  
RenewMessage  
RenewResponseMessage  
SubscribeMessage  
SubscribeResponseMessage  
SubscriptionEndMessage  
UnsubscribeMessage  
UnsubscribeResponseMessage  
 

Package org.ws4d.java.message.eventing Description

Implements the various WS-Eventing related messages: subscribe, unsubscribe, subscription end, renew and get status.

All the classes herein extend the class Message. There are two types of messages here, messages, and response messages. The abstract class EventingResponseMessage is a blueprint for all the response type messages (GetStatusResponseMessage, RenewResponseMessage, SubscribeResponseMessage, SubscribeResponseMessage, UnsubscribeResponseMessage). All other classes only extend Message.

GetStatusMessage, RenewMessage, SubscribeMessage, SubscriptionEndMessage and UnsubscribeMessage all construct an empty SOAP Header with the appropriate action tag (see WS-Eventing Constants), and a unique MessageID (tag messageID) set. In the case of SubscribeMessage and SubscribeEndMessage, the Endpoint reference and the URI of the subscribed to element are also required.

GetStatusResponseMessage, RenewResponseMessage, SubscribeResponseMessage and UnsubscribeResponseMessage all extend EventingResponseMessage and all construct an empty SOAP Header with the appropriate action tag (see WS-Eventing Constants) set. In the case of SubscribeResponseMessage, the EndPointReference and valid URI of the subscribed to element are also required.