OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsdm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [wsdm] Questions on using WSDM event format


In WS-Topics, both messageTypes and MessagePattern refer to "NotificationMessage". WS-Topics never defines this term. WS-BaseNotification also uses the term NotificationMessage, but the only definition is as the child elements of the Notify message and this can not be what is meant in WS-Topics.
 
A reasonable interpretation of NotifiationMessage for WS-Topics in my mind would be:
If useNotify='true', NotificationMessage is the child element of the Notify/NotificationMessage/Message element.
If useNotify='false', NotificationMessage is the child element of the soap:Body.
 
With this definition of NotificationMessage and the use of option b for WEF, it is not possible to say the messageType is my:ResourceEvent. This means representation 2 is not possible and representation 5 is just a duplicate of representation 1. This leaves representations 1, 3, and 4 as the viable alternatives.
 
In my opinion, either option 3 or 4 should be chosen. It is not reasonable to have a requirement that is only stated in text.
 
Bryan


From: Sedukhin, Igor S [mailto:Igor.Sedukhin@ca.com]
Sent: Monday, November 15, 2004 11:05 AM
To: wsdm@lists.oasis-open.org
Subject: [wsdm] Questions on using WSDM event format

 
1. How do we represent custom/specialized/resource-specific events
 
        a. a specific event messaage element is declared as an extension of the WSDM event type e.g.
 
                <my:ResourceEvent>
                    <wef:eventId>...
                    <wef:priority>...
                    <my:otherInformation>...
                    <my:moreInformation>...
                </my:ResourceEvent>
 
        b. a specific event message element is declared and contained in WSDM event element e.g.
 
                <wef:BaseEvent>
                    <wef:eventId>...
                    <wef:priority>...
                    <my:ResourceEvent>
                        <my:otherInformation>...
                        <my:moreInformation>...
                    </my:ResourceEvent>
                </wef:BaseEvent>
 
2. How do we represent topics for these events
 
    1. case b and wstop:messageTypes points to wef:BaseEvent element and explanation in the text of the specification says that my:ResourceEvent must be present in the open content
            --  this is apparently not very friendly as a baked-in undrstanding of what events are produced by the topic is necessary. No machine-processible description available.
 
    2. case b and wstop:messaageTypes points to my:ResourceEvent and text explains that it must be wrapped in the wef:BaseEvent element
            -- machine-processible, but implementation semantics is baked-in
 
    3. case a and wstp:messageTypes points to my:ResourceEvent. no explanation is necessary in the text
            - machine-processible
 
    4. case b and wstop:messageTypes points to wef:BaseEvent element and wstop:MessaagePattern declares that my:ResourceEvent element must be present in the open content
            - machine-processible
            - requires understanding of the dialectable query expression
 
    5. case b and wstop:messageTypes indicates both wef:BaseEvent and my:ResourceEvent
            - implementation approach is not clear.

-- Igor Sedukhin .. (igor.sedukhin@ca.com)
-- (631) 342-4325 .. 1 CA Plaza, Islandia, NY 11749 

 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]