<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type='text/xsl' href='xmlspec.xsl'?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.1//EN" "xmlspec.dtd" [
<!ENTITY % entities SYSTEM "entitieswd.dtd" >
%entities;
<!ENTITY status "&wsevt.status;" >
<!ENTITY short-status "&wsevt.short-status;" >
 ]>

<spec w3c-doctype="&wsevt.w3c-doctype;" role="&wsevt.role;">
 <header>
  <title>&wsevt.name;</title>
  <w3c-designation>&wsevt.w3c-designation;</w3c-designation>
  <w3c-doctype>&wsevt.status;</w3c-doctype>
  <pubdate>
   <day>&wsevt.day;</day>
   <month>&wsevt.month;</month>
   <year>&wsevt.year;</year>
  </pubdate>

  <publoc>
   <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
         xlink:show="replace" xlink:actuate="onRequest"
         href="&wsevt.dated;">&wsevt.dated;
   </loc>
  </publoc>

  <latestloc>
    <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
        xlink:show="replace" xlink:actuate="onRequest"
        href="http://www.w3.org/TR/&wsevt.shortname;">http://www.w3.org/TR/&wsevt.shortname;
   </loc>
  </latestloc>

  <prevlocs>
   <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
         xlink:show="replace" xlink:actuate="onRequest"
         href="&prev.wsevt.dated;">&prev.wsevt.dated;
   </loc>
  </prevlocs>

  <authlist>
   <author>
    <name>Doug Davis</name>
    <affiliation>IBM</affiliation>
   </author>
   <author>
    <name>Ashok Malhotra</name>
    <affiliation>Oracle</affiliation>
   </author>
   <author>
    <name>Katy Warr</name>
    <affiliation>IBM</affiliation>
   </author>
   <author>
    <name>Wu Chou</name>
    <affiliation>Avaya</affiliation>
   </author>
  </authlist>

  <status id='Status'>
   <p>This is the First Public Working Draft.</p>
   <p>
    Publication as a Working Draft does not imply endorsement by the
    W3C Membership. This is a draft document and can be updated, replaced
    or obsoleted by other documents at any time. It is inappropriate to
    cite this document as other than work in progress.
   </p>
  </status>

  <abstract>
   <p>
    This specification describes a protocol that allows Web
    services to subscribe to or accept subscriptions for 
    notification messages.
   </p>
  </abstract>

  <langusage>
    <language id="en">English</language>
  </langusage>

  <revisiondesc>
    <p>Last Modified: $Date: 2011/12/09 16:23:38 $</p>
  </revisiondesc>

 </header>

 <body>
  <div1 id="composable">
   <head>Composable Architecture</head>

   <p>
    By using the XML, SOAP <bibref ref="SOAP11"/>,
    <bibref ref="SOAP12"/>, and WSDL <bibref ref="WSDL11"/>
    extensibility models, the Web service
    specifications (WS-*) are designed to be composed with each other
    to provide a rich set of tools for the Web
    services environment. This specification specifically relies on
    other Web service specifications to provide secure, reliable,
    and/or transacted message delivery and to express Web service and
    client policy.
   </p>
  </div1>

  <div1 id="intro">
   <head>Introduction</head>

   <p>
    Web services often want to receive messages when events occur
    in other services and applications. A mechanism for registering
    interest is needed because the set of Web services interested in
    receiving such messages is often unknown in advance or will
    change over time. This specification defines a protocol for one
    Web service (called a "subscriber") to register interest (called
    a "subscription") with another Web service (called an "event
    source") in receiving messages about events (called
    "notifications"). The subscriber can manage
    the subscription by interacting with a Web service (called the
    "subscription manager") designated by the event source.
   </p>

   <p>
    To improve robustness, a subscription can be leased by an
    event source to a subscriber, and the subscription expires over
    time. The subscription manager provides the ability for the
    subscriber to renew or cancel the subscription before it
    expires.
   </p>

   <p>
    There are many mechanisms by which notifications can be delivered
    to event sinks. This specification provides an extensible
    way for subscribers to identify the delivery mechanism they
    prefer.
   </p>

   <div2 id="reqs">
    <head>Requirements</head>
 
    <p>
     This specification intends to meet the following requirements:
    </p>
 
    <ulist>
     <item>
      <p>
       Define means to create and cancel event subscriptions.
      </p>
     </item>
 
     <item>
      <p>
       Define expiration for subscriptions and allow them to be renewed.
      </p>
     </item>
 
     <item> 
      <p>
       Define how one Web service can subscribe on behalf of another.
      </p>
     </item>
 
     <item>
      <p>
       Define how an event source delegates subscription
       management to another Web service.
      </p>
     </item>
 
     <item>
      <p>
       Allow subscribers to specify how notifications are to be delivered.
      </p>
     </item>
 
     <item>
      <p>
       Leverage other Web service specifications for secure,
       reliable, transacted message delivery.
      </p>
     </item>
 
     <item>
      <p>
       Support complex eventing topologies that allow the
       originating event source and the final event sink to be
       decoupled.
      </p>
     </item>
 
     <item>
      <p>
       Provide extensibility for more sophisticated and/or
       currently unanticipated subscription scenarios.
      </p>
     </item>
 
     <item>
      <p>
       Support a variety of encoding formats, including (but not
       limited to) both SOAP 1.1 <bibref ref="SOAP11"/>
       and SOAP 1.2 <bibref ref="SOAP12"/> Envelopes.
      </p>
     </item>
    </ulist>
   </div2>

   <div2 id="Delivery">
    <head>Delivery</head>

    <p>
     This specification defines a method for transmitting notifications 
     to the event sink through the use of the wse:NotifyTo element.  Other 
     methods or combination of methods MAY be defined through the use 
     of delivery extensions.
    </p>

    <p>
     When the wse:NotifyTo element is used within the Delivery element it 
     specifies the endpoint to which notifications are sent. For delivery 
     to addressable endpoints this is sufficient. However, for 
     non-addressable endpoints some additional mechanisms are needed. A 
     subscription manager MAY choose to support mechanisms, such as the
     <bibref ref="WSMC"/> specification, to enable delivery of 
     notifications and the SubscriptionEnd message to non-addressable 
     endpoints. See the 
     <bibref ref="WSMC"/> specification for more information, and an 
     example, of how this would work.
    </p>
   </div2>

   <div2 id="NotificationFormats">
    <head>Notification Formats</head>

    <p>
     This specification does not mandate how events are serialized into
     notification messages. Rather, within the Subscribe request message
     a subscriber can specify a "Format" that indicates the set of rules
     that MUST be followed when constructing notification messages.
    </p>

    <p>
     This specification specifies two delivery formats: wrapped and 
     unwrapped. Use of wrapped format indicates that notification messages 
     MUST be contained in a wrapper element defined by this 
     specification. Use of unwrapped format indicates that notification 
     messages are not contained in a wrapper element.
     Conformant Event Source implementations MUST support both wrapped 
     and unwrapped notifications.
    </p>

    <p>
     Filtering occurs prior to any formatting of notification messages. 
     This ensures that regardless of what type of formatting might occur, 
     the same Filter dialect/expression can be used to subset the event stream.
    </p>
   </div2>

   <div2 id="SubMgr">
    <head>Subscription Managers</head>

    <p>
     In some scenarios the event source itself manages the
     subscriptions it has created. In other scenarios, for example a
     geographically distributed publish-and-subscribe system, it might
     be useful to delegate the management of a subscription to another
     Web service. To support this flexibility, the response to a
     subscription request to an event source will include the EPR of a
     service that the subscriber can interact with to manage this
     subscription. This EPR MUST be the target for future requests
     to renew or cancel the subscription. It can address the same Web
     service (Address and ReferenceParameters) as the event source
     itself, or it can address some other Web service to which the
     event source has delegated management of this subscription.
    </p>

    <p>
     The term "subscription manager" is used in this specification
     to refer to the Web service that manages the subscription,
     whether it is the event source itself or some separate Web
     service.
    </p>
   </div2>

   <div2 id="example">
    <head>Example</head>

    <p>
     <specref ref="Table1"/> lists a hypothetical request to create a 
     subscription for storm warnings.
    </p>

    <example id="Table1">
     <head>Hypothetical request to create a subscription</head>
     <eg>(01) &lt;s12:Envelope
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ew="http://www.example.com/warnings" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/Subscribe
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:d7c5726b-de29-4313-b4d4-b3425b200839
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:ReplyTo&gt;
(14)      &lt;wsa:Address&gt;http://www.example.com/MyEventSink&lt;/wsa:Address&gt;
(15)     &lt;/wsa:ReplyTo&gt;
(16)     &lt;wsa:To&gt;http://www.example.org/oceanwatch/EventSource&lt;/wsa:To&gt;
(17)   &lt;/s12:Header&gt;
(18)   &lt;s12:Body&gt;
(19)     &lt;wse:Subscribe&gt;
(20)       &lt;wse:Delivery&gt;
(21)         &lt;wse:NotifyTo&gt;
(22)           &lt;wsa:Address&gt;
(23)             http://www.example.com/MyEventSink/OnStormWarning
(24)           &lt;/wsa:Address&gt;
(25)           &lt;wsa:ReferenceParameters&gt;
(26)             &lt;ew:MySubscription&gt;2597&lt;/ew:MySubscription&gt;
(27)           &lt;/wsa:ReferenceParameters&gt;
(28)         &lt;/wse:NotifyTo&gt;
(29)       &lt;/wse:Delivery&gt;
(30)     &lt;/wse:Subscribe&gt;
(31)   &lt;/s12:Body&gt;
(32) &lt;/s12:Envelope&gt;</eg>
    </example>


    <p>
     Lines (07-09) in <specref ref="Table1"/> indicate the
     message is a request to create a subscription, and line (16)
     indicates that it is sent to a hypothetical event source of ocean
     events.
    </p>

    <p>
     While lines (13-15) indicate where a reply is sent,
     lines (20-29) indicate where and how notifications are to be
     delivered; there is no requirement that these match. The absence
     of any extensions to the wse:Delivery or wse:NotifyTo elements
     indicates that notifications
     are sent as SOAP messages to the endpoint described in
     lines (21-28). Note that lines (25-27) illustrate a typical
     pattern where the event sink lists a reference parameter (line 26)
     that identifies the subscription and will be included in each
     notification.
    </p>

    <p>
     <specref ref="Table2"/> lists a hypothetical response to the request in
     <specref ref="Table1"/>.
    </p>

    <example id="Table2">
     <head>Hypothetical response to a subscribe request</head>
     <eg>(01) &lt;s12:Envelope
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscribeResponse
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:RelatesTo&gt;
(11)       urn:uuid:d7c5726b-de29-4313-b4d4-b3425b200839
(12)     &lt;/wsa:RelatesTo&gt;
(13)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(14)   &lt;/s12:Header&gt;
(15)   &lt;s12:Body&gt;
(16)     &lt;wse:SubscribeResponse&gt;
(17)       &lt;wse:SubscriptionManager&gt;
(18)         &lt;wsa:Address&gt;
(19)           http://www.example.org/oceanwatch/SubscriptionManager
(20)         &lt;/wsa:Address&gt;
(21)         &lt;wsa:ReferenceParameters&gt;
(22)           &lt;ow:MyId&gt;
(23)             28
(24)           &lt;/ow:MyId&gt;
(25)         &lt;/wsa:ReferenceParameters&gt;
(26)       &lt;/wse:SubscriptionManager&gt;
(27)       &lt;wse:GrantedExpires&gt;PT0S&lt;/wse:GrantedExpires&gt;
(28)     &lt;/wse:SubscribeResponse&gt;
(29)   &lt;/s12:Body&gt;
(30) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Lines (07-09) in <specref ref="Table2"/> indicate this
     message is a response to a request to create a subscription, and
     lines (10-12) indicate that it is a response to the request in
     <specref ref="Table1"/>. Lines (17-26) provide the
     subscription manager EPR for this subscription, and line (27)
     indicates the subscription will not expire.
    </p>
   </div2>
  </div1>

  <div1 id="notterms">
   <head>Notations and Terminology</head>

   <p>
    This section specifies the notations, namespaces, and
    terminology used in this specification.
   </p>

   <div2 id="conventions">
    <head>Notational Conventions</head>
 
    <p>
     The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
     NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
     "OPTIONAL" in this document are to be interpreted as described in
     RFC 2119 <bibref ref="RFC2119"/>.
    </p>
   
    <p>
     This specification uses the following syntax to define
     normative outlines for messages:
    </p>

    <ulist>
     <item>
      <p>
       The syntax appears as an XML instance, but values in
       italics indicate data types instead of values.
      </p>
     </item>

     <item>
      <p>
       Characters are appended to elements and attributes to
       indicate cardinality:
      </p>

      <ulist>
       <item>
        <p>"?" (0 or 1)</p>
       </item>

       <item>
        <p>"*" (0 or more)</p>
       </item>

       <item>
        <p>"+" (1 or more)</p>
       </item>
      </ulist>
     </item>

     <item>
      <p>
       The character "|" is used to indicate a choice between
       alternatives.
      </p>
     </item>

     <item>
      <p>
       The characters "(" and ")" are used to indicate that contained items
       are to be treated as a group with respect to cardinality or choice.
      </p>
     </item>

     <item>
      <p>
       The characters "[" and "]" are used to call out references and
       property names.
      </p>
     </item>

     <item>
      <p>
       Ellipsis (i.e. "...") indicate a point of extensibility.
      </p>
     </item>

     <item>
      <p>
       XML namespace prefixes (see <specref ref="Table3"/>)
       are used to indicate the namespace of the element being
       defined.
      </p>
     </item>
    </ulist>

    <p>
     In addition to Message Information Header properties
     <bibref ref="AddrCore"/>,
     this specification uses the following properties to define messages:
    </p>

    <glist>
     <gitem>
      <label> <kw>[Headers]</kw> </label>
      <def>
       <p> Unordered message headers. </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Action]</kw> </label>
      <def>
       <p> The value to be used for the wsa:Action IRI. </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw> </label>
      <def>
       <p> A message body. </p>
      </def>
     </gitem>
    </glist>

    <p>
     These properties bind to a SOAP Envelope as follows:
    </p>

    <example>
     <eg>&lt;s:Envelope&gt;
  &lt;s:Header&gt;
    <kw>[Headers]</kw>
    &lt;wsa:Action&gt;<kw>[Action]</kw>&lt;/wsa:Action&gt;
    ...
  &lt;/s:Header&gt;
  &lt;s:Body&gt;<kw>[Body]</kw>&lt;/s:Body&gt;
&lt;/s:Envelope&gt;</eg>
    </example>

    <p>
     This specification can be used in terms of XML Information Set (Infoset)
     <bibref ref="XMLInfoset"/>, even though the specification uses XML 1.0
     terminology. Valid Infoset for this specification is the one 
     serializable in XML 1.0, hence the use of XML 1.0.
    </p>

    <p>
     The term "generate" is used in relation to the various faults defined
     by this specification to imply that a fault is produced and no
     further processing SHOULD be performed. In these cases the fault
     SHOULD be transmitted. However, there might be reasons when a compliant
     implementation can choose not to transmit the fault - for example,
     security concerns - in these situations the service MAY choose
     not to transmit the fault.
    </p>

   </div2>

   <div2 id="extensions">
    <head>Considerations on the Use of Extensibility Points</head>

    <p>
     The elements defined in this specification MAY be extended at the
     points indicated by their outlines and schema. Implementations MAY
     add child elements and/or attributes at the indicated extension
     points but MUST NOT contradict the semantics of the parent and/or
     owner, respectively. If a receiver does not recognize an extension,
     the receiver SHOULD ignore that extension. Senders MAY indicate
     the presence of an extension that has to be understood through the use
     of a corresponding SOAP Header with a soap:mustUnderstand attribute
     with the value "1".
    </p>

    <p>
     In cases where it is either desirable or necessary for the receiver
     of a request that has been extended to indicate that it has
     recognized and accepted the semantics associated with that extension,
     it is RECOMMENDED that the receiver add a corresponding extension
     to the response message.  The definition of an extension SHOULD clearly
     specify how the extension that appears in the response correlates
     with that in the corresponding request.
    </p>

    <p>
     Extension elements and attributes MUST NOT use the Web Services
     Eventing namespace URI.
    </p>
   </div2>

   <div2 id="terms">
    <head>Terminology</head>

    <glist>
     <gitem>
      <label> Event Source </label>
      <def>
       <p>
        A Web service that accepts requests to create subscriptions. 
        Notifications MAY be sent by any endpoint including the event source. 
       </p>
      </def>
     </gitem>
     
     <gitem>
      <label> Event Sink </label>
      <def>
       <p>
        A Web service that receives notifications.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> Notification </label>
      <def>
       <p>
        A message sent to indicate that an event, or events, have occurred. 
       </p>
      </def>
     </gitem>

     <gitem>
      <label> Subscription </label>
      <def>
       <p>
        A registration of interest in receiving notification messages from 
        an event source.  Subscriptions MAY be created, renewed, expired 
        or cancelled.  A subscription is "active" when it has been created 
        but has not been expired or cancelled.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> Subscriber </label>
      <def>
       <p>
        A Web service that sends requests to create, renew, and/or
        cancel subscriptions.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> Subscription Manager </label>
      <def>
       <p>
        A Web service that accepts requests to manage, get the status of, 
        renew, and/or cancel subscriptions on behalf of an event source.
       </p>
      </def>
     </gitem>
    </glist>
   </div2>

   <div2 id="compliance">
    <head>Compliance</head>
    
    <p>
     An implementation is not compliant with this specification if it fails to
     satisfy one or more of the MUST or REQUIRED level requirements defined 
     herein.  A SOAP Node MUST NOT use the XML namespace identifier for this 
     specification (listed in <specref ref="namespaces"/>) within SOAP 
     Envelopes unless it is compliant with this specification. 
    </p>
    
    <p>
     Normative text within this specification takes precedence over the XML 
     Schema and WSDL descriptions, which in turn take precedence over 
     outlines, which in turn take precedence over examples. 
    </p>
    
    <p>
     All messages defined by this specification MUST conform to the
     WS-Addressing specifications and be sent to a Web service that
     is addressable by an EPR (see <bibref ref="AddrCore"/>).
    </p>

    <p>
     Unless otherwise noted, all IRIs are absolute IRIs and IRI comparison
     MUST be performed according to <bibref ref="RFC3987"/> section 5.3.1.
    </p>

    <p>
     For any message defined by this specification, any OPTIONAL elements
     or attributes in the message MAY be used by senders of the message;
     however receivers of those messages MUST support those OPTIONAL
     elements and attributes, unless other behavior is explicitly defined
     by this specification.
    </p>

    <p>
     Implementations are expected to support both UTF-8 and UTF-16 as
     described in XML 1.0.
    </p>

    <p>
     Implementations of this specification MUST conform to the corrected
     version of WSDL as defined by the 'WSDL Correction' sections of WS-I
     Basic Profile 1.2 <bibref ref="BP12"/> and WS-I Basic Profile 2.0
     <bibref ref="BP20"/>.
    </p>

   </div2>

   <div2 id="namespaces">
    <head>XML Namespaces</head>
 
    <p>
     The XML namespace URI that MUST be used by implementations of
     this specification is:
    </p>

    <example>
     <eg><loc href="http://www.w3.org/&wsevt.nsprefix;/ws-evt">http://www.w3.org/&wsevt.nsprefix;/ws-evt</loc></eg>
    </example>

    <p>
     <specref ref="Table3"/> lists XML namespaces that are used in this
     specification. The choice of any namespace prefix is arbitrary
     and not semantically significant.
    </p>

    <table id="Table3" border="1">
     <caption> Prefixes and XML namespaces used in this specification </caption>
     <tbody>
      <tr>
       <th align="left"> Prefix </th>
       <th align="left"> XML Namespace </th>
       <th align="left"> Specification(s) </th>
      </tr>

      <tr>
       <td>s</td>
       <td>(Either SOAP 1.1 or 1.2)</td>
       <td>(Either SOAP 1.1 or 1.2)</td>
      </tr>
      <tr>
       <td>s11</td>
       <td>
        <loc href="http://schemas.xmlsoap.org/soap/envelope/">
         http://schemas.xmlsoap.org/soap/envelope/
        </loc>
       </td>
       <td>SOAP 1.1 <bibref ref="SOAP11"/></td>
      </tr>
      <tr>
       <td>s12</td>
       <td>
        <loc href="http://www.w3.org/2003/05/soap-envelope">
         http://www.w3.org/2003/05/soap-envelope
        </loc>
       </td>
       <td>SOAP 1.2 <bibref ref="SOAP12"/></td>
      </tr>
      <tr>
       <td>wsdl</td>
       <td>
        <loc href="http://schemas.xmlsoap.org/wsdl/">
         http://schemas.xmlsoap.org/wsdl/
        </loc>
       </td>
       <td>WSDL <bibref ref="WSDL11"/></td>
      </tr>
      <tr>
       <td>wsa</td>
       <td>
        <loc href="http://www.w3.org/2005/08/addressing">
         http://www.w3.org/2005/08/addressing
        </loc>
       </td>
       <td>WS-Addressing <bibref ref="AddrCore"/></td>
      </tr>
      <tr>
       <td>wse</td>
       <td>
        <loc href="http://www.w3.org/&wsevt.nsprefix;/ws-evt">
         http://www.w3.org/&wsevt.nsprefix;/ws-evt
        </loc>
       </td>
       <td>This specification</td>
      </tr>
      <tr>
       <td>wsp</td>
       <td>
        <loc href="http://www.w3.org/ns/ws-policy">
         http://www.w3.org/ns/ws-policy</loc>
       </td>
       <td>WS-Policy <bibref ref="wspolicy"/></td>
      </tr>
      <tr>
       <td>xs</td>
       <td>
        <loc href="http://www.w3.org/2001/XMLSchema">
         http://www.w3.org/2001/XMLSchema
        </loc>
       </td>
       <td>
        XML Schema <bibref ref="XMLSchema1"/>, <bibref ref="XMLSchema2"/>
       </td>
      </tr>
     </tbody>
    </table>

    <p>
     The working group intends to update the value of the Web Services
     Eventing namespace URI each time a new version of this document is
     published until such time that the document reaches Candidate
     Recommendation status. Once it has reached Candidate Recommendation
     status, the working group intends to maintain the value of the
     Web Services Eventing namespace URI that was assigned in the
     Candidate Recommendation unless significant changes are made that
     impact the implementation or break post-CR implementations of the
     specification. Also see
     <loc href="http://www.w3.org/2001/tag/doc/namespaceState.html">
      http://www.w3.org/2001/tag/doc/namespaceState.html
     </loc> and
     <loc href="http://www.w3.org/2005/07/13-nsuri">
      http://www.w3.org/2005/07/13-nsuri
      </loc>.
    </p>
   </div2>

  </div1>

  <div1 id="SubMsgs">
   <head>Subscription Messages</head>
 
   <p>
    To create, renew, and cancel subscriptions, subscribers send
    request messages to event sources and subscription managers.
   </p>

   <p>
    Subscriptions are created with a specific expiration time that is 
    negotiated between the Subscriber and the Event Source/Subscription 
    Manager via the Subscribe-SubscribeResponse message exchange. This 
    expiration time can be subsequently re-negotiated via the 
    Renew-RenewResponse message exchange. There are a number of options 
    to these negotiations. In addition to requesting a subscription with 
    a specific expiration time, Subscribers can request a subscription 
    with an infinite expiration (i.e. a subscription that never expires). 
    Subscribers can also indicate their willingness to accept a "best effort"
    attempt to match their desired expiration, as well as indicate that 
    the expiration value will be chosen by the Event Source or 
    Subscription Manager.
   </p>

   <p>
    An event source MAY support filtering to
    limit notifications that are delivered to the event sink; if it
    does, and a subscribe request contains a filter, 
    only events that match the requested filter are sent. 
   </p>

   <p>
    Notifications are sent to the event sink until one of the following
    happens: the subscription manager accepts an unsubscribe request
    for the subscription; the subscription expires;
    or the event source/subscription manager cancels the subscription
    prematurely. In this last case, the event source/subscription manager
    makes a best
    effort to indicate why the subscription ended,
    via a SubscriptionEnd message if an EndTo was present in the
    Subscribe message.
   </p>
  
   <p>
    In the absence of reliable messaging at the application layer
    (e.g. <bibref ref="WSReliableMessaging"/>),
    messages defined herein are delivered using the quality of
    service of the underlying transport(s) and on a best-effort basis
    at the application layer.
   </p>

   <p>
    A subscription can become invalid for any reason including:
   </p>

   <olist>
    <item>
     <p>
      Subscription canceled at the request of the subscriber
      (via Unsubscribe)
     </p> 
    </item>
    <item> <p>Subscription canceled upon expiration</p> </item>
    <item> 
     <p>
      Subscription canceled due to come condition or action of/by
      the Event Source or Subscription Manager.
     </p> 
    </item>
   </olist>

   <p>
    As the last item indicates, the Event Source/Subscription Manager MAY 
    cancel a subscription at any time.
   </p>
   
   <p>
    When processing a Renew, GetStatus or Unsubscribe operation, a 
    Subscription Manager MUST generate an wse:UnknownSubscription fault if 
    it determines that the subscription is invalid.
   </p>

   <p>
    Once a Subscriber determines that a subscription is invalid, it MUST 
    NOT issue any more WS-Eventing request messages using that subscription.
   </p>

   <div2 id="Subscribe">
    <head>Subscribe</head>

    <p>
     To create a subscription, a subscriber sends a Subscribe request message
     to an event source.  This operation MUST be supported by
     compliant event sources.
     The message MUST be of the following form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/Subscribe

<kw>[Body]</kw>
  &lt;wse:Subscribe ...&gt;
    &lt;wse:EndTo&gt; <emph>endpoint-reference</emph> &lt;/wse:EndTo&gt; ?
    &lt;wse:Delivery ...&gt; <emph>xs:any</emph>* &lt;/wse:Delivery&gt;
    &lt;wse:Format Name="<emph>xs:anyURI</emph>"? &gt; <emph>xs:any</emph>* &lt;/wse:Format&gt; ?
    &lt;wse:Expires BestEffort="<emph>xs:boolean</emph>"? ...&gt;
      (<emph>xs:dateTime</emph> | <emph>xs:duration</emph>)
    &lt;/wse:Expires&gt; ?
    &lt;wse:Filter Dialect="<emph>xs:anyURI</emph>"? ...&gt; <emph>xs:any</emph>* &lt;/wse:Filter&gt; ?
    <emph>xs:any</emph>*
  &lt;/wse:Subscribe&gt;</eg>
    </example>

    <p>
     The following describes additional, normative constraints on
     the outline listed above:
    </p>

    <glist>
     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:EndTo </label>
      <def>
       <p>
        Where to send a SubscriptionEnd message if the
        subscription is terminated unexpectedly. (See 
        <specref ref="SubscriptionEnd"/>.) If
        present, this element MUST be of type
        wsa:EndpointReferenceType. Default is not to send this
        message.  The endpoint to which the EndTo EPR refers MUST support the 
        SubcriptionEndPortType portType.
        Unless some mechanism is used to indicate otherwise, the messages 
        sent to this endpoint MUST use the same version of SOAP that was 
        used for the Subscribe message.
       </p>

       <p>
        If the event source does not support the use of the EndTo EPR, 
        the event source MUST generate a wse:EndToNotSupported fault.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Delivery </label>
      <def>
       <p>
        This element contains the information necessary to convey 
        notification messages to the event sink in 
        a manner REQUIRED by the subscriber. This element MUST contain 
        at least one child element. If no delivery mechanism is
        specified then the event source MUST generate a 
        wse:NoDeliveryMechanismEstablished fault.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Delivery/wse:NotifyTo </label>
      <def>
       <p>
        This is an OPTIONAL element. When present, this element indicates 
        that notifications MUST be sent to the EndpointReference identified 
        by this element.
        Unless some mechanism is used to indicate otherwise, the messages
        sent to this endpoint MUST use the same version of SOAP that was
        used for the Subscribe message.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Format </label>
      <def>
       <p>
        This OPTIONAL element contains
        the delivery format to be used for notification messages sent in 
        relation to this subscription. The absence of this element
        is the equivalent to its presence with a @Name value of
        "http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Unwrap", which 
        indicates that unwrapped delivery MUST be used. See 
        Section <specref ref="NotificationFormats"/> for details.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Format@Name </label>
      <def>
       <p>
        Implied value is
        "http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Unwrap".
       </p>

       <p>
        If the event source does not support the requested delivery 
        format, the request MUST 
        generate a wse:DeliveryFormatRequestedUnavailable fault indicating 
        that the requested delivery format is not supported.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Format@Name="http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Unwrap" </label>
      <def>
       <p>
        Indicate the unwrapped event delivery format.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Format@Name="http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Wrap" </label>
      <def>
       <p>
        Indicate the wrapped event delivery format.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Expires </label>
      <def>
       <p>
        This OPTIONAL element can be used by the subscriber to indicate the 
        expiration time of the requested subscription.  
        A value of PT0S indicates a request for an infinite expiration time
        (i.e. a subscription that never expires).
       </p>

       <p>
        The absence of the wse:Expires element indicates that the expiration 
        value will be chosen by the event source or subscription manager. 
        This value is communicated via the wse:GrantedExpires element 
        (see below).
       </p>

       <p>
        If the wse:Expires element is present and the event source is not 
        able to grant an expiration time that matches the specified value
        then it MUST generate a wse:UnsupportedExpirationValue fault. 
       </p>

       <p>
        The value of the wse:Expires element MAY be either a duration 
        (xs:duration) or a specific time (xs:dateTime). Event sources 
        and subscription managers MUST accept duration values and MAY 
        accept specific time values. Upon receiving a request that 
        contains specific time values, an event source or subscription 
        manager that does not support such value types MUST fail the 
        request and generate a wse:UnsupportedExpirationType fault.
       </p>

       <p>
        If a subscriber chooses to use specific time values in a request, 
        it is RECOMMENDED that these values include a time zone component. 
        Specific time values that lack a time zone MUST be interpreted in 
        the local time zone of the receiver.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Expires@BestEffort </label>
      <def>
       <p>
        This OPTIONAL attribute, when present with a value of 'true', 
        indicates that the event source MUST grant an expiration time that 
        is its best effort to match the requested 
        expiration time. Default value of this attribute is "false" in 
        which case the event source MUST grant the requested expiration time 
        or fault the subscription request as defined above.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Filter </label>
      <def>
       <p>
        A Boolean expression in some dialect, either as a string
        or as an XML fragment (see 
        <specref ref="Dialect"/>). If
        the expression evaluates to false for a notification, the
        notification MUST NOT be sent to the event sink. Implied
        value is an expression that always returns true. If the event
        source does not support filtering, then a request that
        specifies a filter MUST fail, and the event source MUST
        generate a wse:FilteringNotSupported fault indicating that
        filtering is not supported.
       </p>

       <p>
        If the event source supports filtering but cannot honor
        the requested filtering, the request MUST fail, and the event
        source MUST generate a wse:FilteringRequestedUnavailable fault
        indicating that the requested filter dialect is not
        supported.
       </p>

       <p>
        If the event source supports filtering and the
        requested dialect but cannot process the requested filter content,
        the request MUST fail, and the event source MUST generate a
        wse:CannotProcessFilter fault.
       </p>

       <p>
        It is possible for a Subscribe request to contain a filter that 
        will never evaluate to true for the lifetime of the subscription. 
        If an event source detects this condition during the processing
        of the Subscribe request it MUST generate a 
        wse:EmptyFilter fault in response to the Subscribe request message.
        If, after the SubscribeResponse message has been sent, the
        event source determines that the filter will never evaluate to true 
        for the lifetime of the subscription, or if there is an error within 
        the filter expression, the subscription MUST be terminated. In 
        this case if an EndTo was provided, then a SubscriptionEnd message 
        MUST be sent with a Status value of
        "http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceCancelling".

       </p>
      </def>
     </gitem>

     <gitem>
      <label id="Dialect"> <kw>[Body]</kw>/wse:Subscribe/wse:Filter/@Dialect </label>
      <def>
       <p>
        Implied value is "http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath10".
       </p>

       <p>
        If filtering is supported, then support for the XPath 1.0 dialect 
        (described below) is RECOMMENDED. 
        Alternate filter dialects can be defined. 
        Such dialect definitions MUST include sufficient information for 
        proper application. For example, it would need to define the context 
        (which data) over which the filter operates.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Filter/@Dialect="<loc
       href="http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath10">
        http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath10
       </loc>"
      </label>
      <def>
       <p>
        Value of <kw>[Body]</kw>/wse:Subscribe/wse:Filter is an XPath
        <bibref ref="XPath1"/> predicate expression
        (PredicateExpr); the context of the expression is:
       </p>

       <ulist>
        <item>
         <p>Context Node: the root of the event XML.</p>
        </item>

        <item>
         <p>Context Position: 1.</p>
        </item>

        <item>
         <p>Context Size: 1.</p>
        </item>

        <item>
         <p>Variable Bindings: None.</p>
        </item>

        <item>
         <p>
          Function Libraries: Core Function Library <bibref ref="XPath1"/>.
         </p>
        </item>

        <item>
         <p>
          Namespace Declarations: The [in-scope namespaces]
          property <bibref ref="XMLInfoset"/> of
          /s:Envelope/s:Body/*/wse:Filter.
         </p>
        </item>
       </ulist>

       <p>
        The namespace bindings are evaluated against any namespace
        declarations that are in scope where the XPath expression appears 
        within the SOAP message.
        Note that the evaluation of expressions that rely on such context
        dependent bindings is fragile in the face of transformations that alter
        namespace prefixes. Such transformations might occur during the
        transmission, processing, storage, or retrieval of a request. Clients
        that wish to isolate expressions from the effects of any changes to the
        namespace prefixes in the containing SOAP message are advised to
        construct expressions in a manner that avoids the use of namespace
        prefixes. For example, use an expression such as
        "/*[local-name()='a' and namespace-uri()='http://www.example.com']"
        not "/ns1:a".
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:Subscribe/wse:Filter/@Dialect="<loc
       href="http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath20">
        http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath20
       </loc>"
      </label>
      <def>
       <p>
        This filter dialect is the same as the XPath 1.0 filter dialect 
        except that it uses <bibref ref="XPath2"/> instead of XPath 1.0
        as the expression language.
       </p>
      </def>
     </gitem>

    </glist>

    <p>
     Other components of the outline above are not further
     constrained by this specification.
    </p>

    <p>
     If included within the Subscribe request message, the wse:NotifyTo 
     and wse:EndTo SHOULD have some cursory validity checking performed before 
     the Subscribe response is returned. While not all errors can be detected
     prior to sending a message to those EPRs, some obvious ones can be 
     detected.  For example, an unsupported transport specified within the 
     wsa:Address IRI.
     Detecting these errors during Subscribe processing will lessen the chances
     of the subscriber creating an unusable subscription.  If this check is
     performed and a problem is detected then the event source MUST generate
     a wse:UnusableEPR fault rather than returning the SubscribeResponse 
     message.
    </p>

    <p>
     If the event source chooses not to accept a subscription due
     to the content of the Subscribe message, then the 
     event source MUST generate a 
     SOAP 1.1 Client fault or a SOAP 1.2 Sender
     fault. If the event source
     does not accept this subscription due to an internal processing
     reason and not due to the specific content of the Subscribe
     message, then the event source MUST
     generate a SOAP 1.1 Server fault or a SOAP 1.2 Receiver fault
     which MAY contain the RetryAfter fault detail element.
    </p>

    <p>
     If the event source accepts a request to create a
     subscription, it MUST reply with a response of the following
     form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscribeResponse

<kw>[Body]</kw>
  &lt;wse:SubscribeResponse ...&gt;
    &lt;wse:SubscriptionManager&gt;
      <emph>wsa:EndpointReferenceType</emph>
    &lt;/wse:SubscriptionManager&gt;
    &lt;wse:GrantedExpires ...&gt;
      (<emph>xs:dateTime</emph> | <emph>xs:duration</emph>)
    &lt;/wse:GrantedExpires&gt; 
    <emph>xs:any</emph>*
  &lt;/wse:SubscribeResponse&gt;</eg>
    </example>

    <p>
     The following describes additional, normative constraints on
     the outline listed above:
    </p>

    <glist>
     <gitem>
      <label> <kw>[Body]</kw>/wse:SubscribeResponse/wse:SubscriptionManager </label>
      <def>
       <p>
        The EPR of the subscription manager for this subscription.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:SubscribeResponse/wse:GrantedExpires </label>
      <def>
       <p>
        The expiration time assigned by the event source. The
        expiration time MAY be either a specific time or a duration
        but MUST be of the same type as the wse:Expires element of
        the corresponding request. If the corresponding request
        did not contain a wse:Expires element, this element MUST be
        a duration (xs:duration).
       </p>

       <p>
        When expressed as a duration, the wse:GrantedExpires element
        designates the amount of time remaining on this subscription
        as measured from the moment the request message was processed.
        Although this specification cannot dictate when, during the
        processing of a request message a subscription's remaining time
        is determined, the event source MUST measure the expiration
        duration from  a time that is at or before the transmission of
        the response message.
       </p>

       <p>
        A wse:GrantedExpires value of PT0S indicates that the
        subscription will never expire.
       </p>
      </def>
     </gitem>
    </glist>

    <p>
     Other components of the outline above are not further
     constrained by this specification.
    </p>

    <p>
     <specref ref="Table4"/> lists another hypothetical request to create a
     subscription.
    </p>

    <example id="Table4">
     <head>Second hypothetical request to create a subscription</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ew="http://www.example.com/warnings" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/Subscribe
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:ReplyTo&gt;
(14)      &lt;wsa:Address&gt;http://www.example.com/MyEvEntsink&lt;/wsa:Address&gt;
(15)      &lt;wsa:ReferenceParameters&gt;
(16)        &lt;ew:MySubscription&gt;2597&lt;/ew:MySubscription&gt;
(17)      &lt;/wsa:ReferenceParameters&gt;
(18)     &lt;/wsa:ReplyTo&gt;
(19)     &lt;wsa:To&gt;http://www.example.org/oceanwatch/EventSource&lt;/wsa:To&gt;
(20)   &lt;/s12:Header&gt;
(21)   &lt;s12:Body&gt;
(22)     &lt;wse:Subscribe&gt;
(23)       &lt;wse:EndTo&gt;
(24)         &lt;wsa:Address&gt;
(25)           http://www.example.com/MyEventSink
(26)         &lt;/wsa:Address&gt;
(27)         &lt;wsa:ReferenceParameters&gt;
(28)           &lt;ew:MySubscription&gt;2597&lt;/ew:MySubscription&gt;
(29)         &lt;/wsa:ReferenceParameters&gt;
(30)       &lt;/wse:EndTo&gt;
(31)       &lt;wse:Delivery&gt;
(32)         &lt;wse:NotifyTo&gt;
(33)           &lt;wsa:Address&gt;
(34)             http://www.other.example.com/OnStormWarning
(35)           &lt;/wsa:Address&gt;
(36)           &lt;wsa:ReferenceParameters&gt;
(37)             &lt;ew:MySubscription&gt;2597&lt;/ew:MySubscription&gt;
(38)           &lt;/wsa:ReferenceParameters&gt;
(39)         &lt;/wse:NotifyTo&gt;
(40)       &lt;/wse:Delivery&gt;
(41)       &lt;wse:Expires&gt;2004-06-26T21:07:00.000-08:00&lt;/wse:Expires&gt;
(42)       &lt;wse:Filter xmlns:ow="http://www.example.org/oceanwatch" &gt;
(43)         /*/ow:Speed &amp;gt; 50
(44)       &lt;/wse:Filter&gt;
(45)     &lt;/wse:Subscribe&gt;
(46)   &lt;/s12:Body&gt;
(47) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Like the request in <specref ref="Table1"/>, lines
     (07-09) of <specref ref="Table4"/> indicate the message is
     a request to create a subscription. Line (19) indicates that it
     is sent to a hypothetical event source of ocean events.
    </p>

    <p>
     Lines (13-18) indicate where to send the response to this
     request, lines (23-30) indicate where to send a SubscriptionEnd
     message if necessary, and lines (31-34) indicate how and where to
     send notifications.
    </p>

    <p>
     Line (41) indicates the event sink would prefer to have the
     subscription expire on 26 June 2004 at 9:07 PM Pacific time.
    </p>

    <p>
     Lines (42-44) indicate the event sink only wants weather
     reports where the speed of wind is greater than 50.
    </p>

    <p>
     <specref ref="Table5"/> lists a hypothetical response to the request in
     <specref ref="Table4"/>.
    </p>

    <example id="Table5">
     <head>Hypothetical response to second subscribe request</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ew="http://www.example.com/warnings"
(06)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(07)   &lt;s12:Header&gt;
(08)     &lt;wsa:Action&gt;
(09)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscribeResponse
(10)     &lt;/wsa:Action&gt;
(11)     &lt;wsa:RelatesTo&gt;
(12)       urn:uuid:e1886c5c-5e86-48d1-8c77-fc1c28d47180
(13)     &lt;/wsa:RelatesTo&gt;
(14)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(15)     &lt;ew:MySubscription wsa:IsReferenceParameter="true"&gt;
(16)       2597
(17)     &lt;/ew:MySubscription&gt;
(18)   &lt;/s12:Header&gt;
(19)   &lt;s12:Body&gt;
(20)     &lt;wse:SubscribeResponse&gt;
(21)       &lt;wse:SubscriptionManager&gt;
(22)         &lt;wsa:Address&gt;
(23)           http://www.example.org/oceanwatch/SubscriptionManager
(24)         &lt;/wsa:Address&gt;
(25)         &lt;wsa:ReferenceParameters&gt;
(26)           &lt;x:SubID xmlns:x="http://example.com"&gt;
(27)             urn:uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa
(28)           &lt;/x:SubID&gt;
(29)         &lt;/wsa:ReferenceParameters&gt;
(30)       &lt;/wse:SubscriptionManager&gt;
(31)       &lt;wse:Expires&gt;2004-06-26T21:07:00.000-08:00&lt;/wse:Expires&gt;
(32)     &lt;/wse:SubscribeResponse&gt;
(33)   &lt;/s12:Body&gt;
(34) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Like the response in <specref ref="Table2"/>, lines
     (08-10) of <specref ref="Table5"/> indicate this message is
     a response to a request to create a subscription, and lines
     (11-13) indicate that it is a response to the request in 
     <specref ref="Table4"/> . Lines (14-17) indicate the response is
     sent to the event sink indicated in lines (13-18) of 
     <specref ref="Table4"/>. Lines (21-30) provide the address of the
     subscription manager for this subscription; note that this
     particular response uses the x:SubID element as a reference 
     parameter to distinguish
     this subscription EPR from other subscription EPRs.
     Finally, line (31) indicates the
     subscription will expire on 26 June 2004 at 9:07 PM Pacific time
     unless renewed.
    </p>
   </div2>

   <div2 id="Renew">
    <head>Renew</head>

    <p>
     To update, or renew, the expiration for a subscription, a
     subscriber sends a Renew request message to the subscription
     manager.
     This operation MUST be supported by compliant subscription managers.
     The Renew request message MUST be of the following form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/Renew

<kw>[Body]</kw>
  &lt;wse:Renew ...&gt;
    &lt;wse:Expires BestEffort="<emph>xs:boolean</emph>"? ...&gt;
      (<emph>xs:dateTime</emph> | <emph>xs:duration</emph>)
    &lt;/wse:Expires&gt; ?
    <emph>xs:any</emph>*
  &lt;/wse:Renew&gt;</eg>
    </example>

    <p>
     Components of the outline listed above are additionally
     constrained as for a request to create a subscription (see
     <specref ref="Subscribe"/>). Other components
     of the outline above are not further constrained by this
     specification.
    </p>

    <p>
     If the subscription manager chooses not to renew this
     subscription, the request MUST fail, and the subscription manager
     MUST generate a SOAP 1.1 Server fault or a SOAP 1.2 Receiver fault 
     indicating that the renewal was not accepted. This fault MAY contain
     the RetryAfter fault detail element.
    </p>

    <p>
     If the subscription manager accepts a request to renew a
     subscription, it MUST reply with a response of the following
     form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/RenewResponse

<kw>[Body]</kw>
  &lt;wse:RenewResponse ...&gt;
    &lt;wse:GrantedExpires ...&gt;
      (<emph>xs:dateTime</emph> | <emph>xs:duration</emph>)
    &lt;/wse:GrantedExpires&gt; ?
    <emph>xs:any</emph>*
  &lt;/wse:RenewResponse&gt;</eg>
    </example>

    <p>
     Components of the outline listed above are constrained as for
     a response to a subscribe request (see <specref ref="Subscribe"/>).
     Other components of the outline above are not further
     constrained by this specification.
    </p>

    <p>
     <specref ref="Table6"/> lists a hypothetical request to renew the 
     subscription created in <specref ref="Table5"/>.
    </p>

    <example id="Table6">
     <head>Hypothetical request to renew second subscription</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/Renew
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:bd88b3df-5db4-4392-9621-aee9160721f6
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:ReplyTo&gt;
(14)      &lt;wsa:Address&gt;http://www.example.com/MyEventSink&lt;/wsa:Address&gt;
(15)     &lt;/wsa:ReplyTo&gt;
(16)     &lt;wsa:To&gt;
(17)       http://www.example.org/oceanwatch/SubscriptionManager
(18)     &lt;/wsa:To&gt;
(19)     &lt;x:SubID wsa:IsReferenceParameter="true" xmlns:x="http://example.com"&gt;
(20)       urn:uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa
(21)     &lt;/x:SubID&gt;
(22)   &lt;/s12:Header&gt;
(23)   &lt;s12:Body&gt;
(24)     &lt;wse:Renew&gt;
(25)       &lt;wse:Expires&gt;2004-06-26T21:07:00.000-08:00&lt;/wse:Expires&gt;
(26)     &lt;/wse:Renew&gt;
(27)   &lt;/s12:Body&gt;
(28) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Lines (07-09) indicate this is a request to renew a
     subscription. Lines (19-21) contain the reference parameter that
     indicates the subscription to be renewed is the one created in
     <specref ref="Table5"/>. Line (25) in <specref ref="Table6"/>
     indicates the request is to extend the
     subscription until 26 June 2004 at 9:07 PM Pacific.
    </p>

    <p>
     <specref ref="Table7"/> lists a hypothetical response to the request in
     <specref ref="Table6"/>.
    </p>

    <example id="Table7">
     <head>Hypothetical response to renew request</head>
     <eg>(01) &lt;s12:Envelope
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)      http://www.w3.org/&wsevt.nsprefix;/ws-evt/RenewResponse
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:RelatesTo&gt;
(11)       urn:uuid:bd88b3df-5db4-4392-9621-aee9160721f6
(12)     &lt;/wsa:RelatesTo&gt;
(13)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(14)   &lt;/s12:Header&gt;
(15)   &lt;s12:Body&gt;
(16)     &lt;wse:RenewResponse&gt;
(17)       &lt;wse:Expires&gt;2004-06-26T21:07:00.000-08:00&lt;/wse:Expires&gt;
(18)     &lt;/wse:RenewResponse&gt;
(19)   &lt;/s12:Body&gt;
(20) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Line (17) in <specref ref="Table7"/> indicates the
     subscription has been extended only until 26 June 2004 at
     noon.
    </p>
   </div2>

   <div2 id="GetStatus">
    <head>GetStatus</head>

    <p>
     To get the status of a subscription, the subscriber sends a
     GetStatus request message to the subscription manager.
     This operation MUST be supported by compliant subscription managers.
     The GetStatus request MUST be of the following form:
    </p>
    
    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatus

<kw>[Body]</kw>
  &lt;wse:GetStatus ...&gt;
    <emph>xs:any</emph>*
  &lt;/wse:GetStatus&gt;</eg>
    </example>

    <p>
     Components of the outline listed above are not further constrained
     by this specification.
    </p>

    <p>
     If the subscription is active, the
     subscription manager MUST reply with a response of the following
     form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatusResponse

<kw>[Body]</kw>
  &lt;wse:GetStatusResponse ...&gt;
    &lt;wse:GrantedExpires ...&gt;
      (<emph>xs:dateTime</emph> | <emph>xs:duration</emph>)
    &lt;/wse:GrantedExpires&gt; ?
    <emph>xs:any</emph>*
  &lt;/wse:GetStatusResponse&gt;</eg>
    </example>

    <p>
     Components of the outline listed above are constrained as for
     a response to a renew request (see <specref ref="Renew"/>).
     Other components of the outline above are not further
     constrained by this specification.
    </p>

    <p>
     This operation is safe; it will not result in any side effect
     imputable to the requester. This means that in case of an underlying
     protocol error that might get unnoticed, resending the same request
     can be done automatically.
    </p>

    <p>
     <specref ref="Table8"/> lists a hypothetical request to get the 
     status of the subscription created in <specref ref="Table5"/>.
    </p>

    <example id="Table8">
     <head>Hypothetical request to get the status of the second subscription</head>
     <eg>(01) &lt;s12:Envelope
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatus
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:bd88b3df-5db4-4392-9621-aee9160721f6
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:ReplyTo&gt;
(14)       &lt;wsa:Address&gt;http://www.example.com/MyEventSink&lt;/wsa:Address&gt;
(15)     &lt;/wsa:ReplyTo&gt;
(16)     &lt;wsa:To&gt;
(17)       http://www.example.org/oceanwatch/SubscriptionManager
(18)     &lt;/wsa:To&gt;
(19)     &lt;x:SubID wsa:IsReferenceParameter="true" xmlns:x="http://example.com"&gt;
(20)       urn:uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa
(21)     &lt;/x:SubID&gt;
(22)   &lt;/s12:Header&gt;
(23)   &lt;s12:Body&gt;
(24)     &lt;wse:GetStatus /&gt;
(25)   &lt;/s12:Body&gt;
(26) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Lines (07-09) indicate this is a request to get the status of
     a subscription. Lines (16-21) indicate that the request is sent
     to the subscription manager for the subscription created in
     <specref ref="Table5"/>.
    </p>

    <p>
     <specref ref="Table9"/> lists a hypothetical response to the request in
     <specref ref="Table8"/>.
    </p>

    <example id="Table9">
     <head>Hypothetical response to get status request</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatusResponse
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:RelatesTo&gt;
(11)       urn:uuid:bd88b3df-5db4-4392-9621-aee9160721f6
(12)     &lt;/wsa:RelatesTo&gt;
(13)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(14)   &lt;/s12:Header&gt;
(15)   &lt;s12:Body&gt;
(16)     &lt;wse:GetStatusResponse&gt;
(17)       &lt;wse:Expires&gt;2004-06-26T12:00:00.000-00:00&lt;/wse:Expires&gt;
(18)     &lt;/wse:GetStatusResponse&gt;
(19)   &lt;/s12:Body&gt;
(20) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Line (17) in <specref ref="Table9"/> indicates the
     subscription will expire on 26 June 2004 at noon.
    </p>
   </div2>

   <div2 id="Unsubscribe">
    <head>Unsubscribe</head>

    <p>
     Though subscriptions with a non-infinite expiration time will 
     eventually be canceled, to minimize resources,
     the subscriber SHOULD explicitly cancel a
     subscription when it no longer wants notifications associated
     with the subscription.
    </p>

    <p>
     To explicitly cancel a subscription, a subscriber 
     sends an Unsubscribe request message to the subscription manager.
     This operation MUST be supported by compliant subscription managers.
     The Unsubscribe request message MUST be of the following form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/Unsubscribe

<kw>[Body]</kw>
  &lt;wse:Unsubscribe ...&gt;
    <emph>xs:any</emph>*
  &lt;/wse:Unsubscribe&gt;</eg>
    </example>

    <p>
     Components of the outline above are additionally constrained
     only as for a request to renew a subscription (see 
     <specref ref="Renew"/>). For example, the faults listed
     there are also defined for a request to cancel a
     subscription.
    </p>

    <p>
     If the subscription manager accepts a request to cancel a
     subscription, it MUST reply with a response of the following
     form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/UnsubscribeResponse

<kw>[Body]</kw>
  &lt;wse:UnsubscribeResponse ...&gt;
    <emph>xs:any</emph>*
  &lt;/wse:UnsubscribeResponse&gt;</eg>
    </example>

    <p>
     Components of the outline listed above are not further
     constrained by this specification.
    </p>

    <p>
     <specref ref="Table10"/> lists a hypothetical request to cancel the
     subscription created in <specref ref="Table5"/>.
    </p>

    <example id="Table10">
     <head>Hypothetical unsubscribe request to cancel second subscription</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/Unsubscribe
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:ReplyTo&gt;
(14)      &lt;wsa:Address&gt;http://www.example.com/MyEventSink&lt;/wsa:Address&gt;
(15)     &lt;/wsa:ReplyTo&gt;
(16)     &lt;wsa:To&gt;
(17)       http://www.example.org/oceanwatch/SubscriptionManager
(18)     &lt;/wsa:To&gt;
(19)     &lt;x:SubID wsa:IsReferenceParameter="true" xmlns:x="http://example.com"&gt;
(20)       urn:uuid:22e8a584-0d18-4228-b2a8-3716fa2097fa
(21)     &lt;/x:SubID&gt;
(22)   &lt;/s12:Header&gt;
(23)   &lt;s12:Body&gt;
(24)     &lt;wse:Unsubscribe /&gt;
(25)   &lt;/s12:Body&gt;
(26) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Lines (07-09) in <specref ref="Table10"/> indicate the
     message is a request to cancel a subscription. Lines (16-21)
     indicate that the request is addressed to the manager for the
     subscription created in <specref ref="Table5"/>.
    </p>

    <p>
     <specref ref="Table11"/> lists a hypothetical response to the request in
     <specref ref="Table10"/>.
    </p>

    <example id="Table11">
     <head>Hypothetical response to unsubscribe request</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing" &gt;
(04)   &lt;s12:Header&gt;
(05)     &lt;wsa:Action&gt;
(06)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/UnsubscribeResponse
(07)     &lt;/wsa:Action&gt;
(08)     &lt;wsa:RelatesTo&gt;
(09)       urn:uuid:2653f89f-25bc-4c2a-a7c4-620504f6b216
(10)     &lt;/wsa:RelatesTo&gt;
(11)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(12)   &lt;/s12:Header&gt;
(13)   &lt;s12:Body&gt;
(14)     &lt;wse:UnsubscribeResponse/&gt;
(15)   &lt;/s12:Body&gt;
(16) &lt;/s12:Envelope&gt;</eg>
    </example>
   </div2>

   <div2 id="SubscriptionEnd">
    <head>SubscriptionEnd</head>

    <p>
     If the event source terminates a subscription unexpectedly, 
     and it supports the use of the EndTo EPR, and the EndTo EPR 
     was present in the Subscribe message for that subscription 
     (see <specref ref="Subscribe"/>), the SubscriptionEnd message
     MUST be sent to the endpoint reference indicated by that EPR, 
     if possible. 
    </p>

    <p>
     Note, a subscription expiring as expected is not considered to be 
     an unexpected termination, therefore a SubscriptionEnd message MUST NOT
     be sent in this case.
    </p>
    
    <p>
     The message MUST be of the following form:
    </p>

    <example>
     <eg><kw>[Action]</kw>
  http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscriptionEnd

<kw>[Body]</kw>
  &lt;wse:SubscriptionEnd ...&gt;
    &lt;wse:Status&gt;
      ( http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFailure | 
        http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceShuttingDown |
        http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceCancelling |
        <emph>xs:anyURI</emph> )
    &lt;/wse:Status&gt;
    &lt;wse:Reason xml:lang="<emph>language identifier</emph>" &gt;<emph>xs:string</emph>&lt;/wse:Reason&gt; ?
    <emph>xs:any</emph>*
  &lt;/wse:SubscriptionEnd&gt;</eg>
    </example>

    <p>
     The following describes additional, normative constraints on
     the outline listed above:
    </p>

    <glist>
     <gitem>
      <label> 
       <kw>[Body]</kw>/wse:SubscriptionEnd/wse:Status =
       "http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFailure"
      </label>
      <def>
       <p>
        This value MUST be used if the event source terminated the
        subscription because of problems delivering
        notifications.
       </p>
      </def>
     </gitem>

     <gitem>
      <label>
       <kw>[Body]</kw>/wse:SubscriptionEnd/wse:Status =
       "http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceShuttingDown"
      </label>
      <def>
       <p>
        This value MUST be used if the event source terminated the
        subscription because the source is being shut down in a
        controlled manner; that is, if the event source is being shut
        down but has the opportunity to send a SubscriptionEnd
        message before it exits.
       </p>
      </def>
     </gitem>

     <gitem>
      <label>
       <kw>[Body]</kw>/wse:SubscriptionEnd/wse:Status =
       "http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceCancelling"
      </label>
      <def>
       <p>
        This value MUST be used if the event source terminated the
        subscription for some other reason before it expired.
       </p>
      </def>
     </gitem>

     <gitem>
      <label> <kw>[Body]</kw>/wse:SubscriptionEnd/wse:Reason </label>
      <def>
       <p>
        This OPTIONAL element contains text, in the language
        specified by the @xml:lang attribute, describing the reason
        for the unexpected subscription termination.
       </p>
      </def>
     </gitem>
    </glist>

    <p>
     Other components of the outline above are not further
     constrained by this specification.
    </p>

    <p>
     <specref ref="Table12"/> lists a hypothetical SubscriptionEnd message
     corresponding to an early termination of the subscription created
     in <specref ref="Table4"/>.
    </p>

    <example id="Table12">
     <head>Hypothetical subscription end message</head>
     <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:wse="http://www.w3.org/&wsevt.nsprefix;/ws-evt" 
(05)     xmlns:ew="http://www.example.com/warnings" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscriptionEnd
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:To&gt;http://www.example.com/MyEventSink&lt;/wsa:To&gt;
(11)     &lt;ew:MySubscription wsa:IsReferenceParameter="true"&gt;
(12)       2597
(13)     &lt;/ew:MySubscription&gt;
(14)   &lt;/s12:Header&gt;
(15)   &lt;s12:Body&gt;
(16)     &lt;wse:SubscriptionEnd&gt;
(17)       &lt;wse:Status&gt;wse:SourceShuttingDown&lt;/wse:Status&gt;
(18)       &lt;wse:Reason xml:lang="en-US" &gt;
(19)         Event source going off line.
(20)       &lt;/wse:Reason&gt;
(21)     &lt;/wse:SubscriptionEnd&gt;
(22)   &lt;/s12:Body&gt;
(23) &lt;/s12:Envelope&gt;</eg>
    </example>

    <p>
     Line (08) is the action IRI for SubscriptionEnd. Lines
     (10-13) indicate the message is sent to the EndTo of the
     subscribe request (lines (23-30) in <specref ref="Table4"/>).
     Line (17) indicates the event source is shutting down, and
     lines (18-20) indicate that the event source was going off
     line.
    </p>
   </div2>
  </div1>

  <div1 id="Notifications">
   <head>Notifications</head>
 
   <p>
    Notifications are SOAP messages that are transmitted to the event sink 
    as the result of a successful Subscribe operation.
   </p>

   <p>
    <specref ref="Table13"/> lists a hypothetical notification message sent as
    part of the subscription created by the subscribe request in
    <specref ref="Table4"/>.
   </p>

   <example id="Table13">
    <head>Hypothetical notification message</head>
    <eg>(01) &lt;s12:Envelope 
(02)     xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
(03)     xmlns:wsa="http://www.w3.org/2005/08/addressing"
(04)     xmlns:ew="http://www.example.com/warnings"
(05)     xmlns:ow="http://www.example.org/oceanwatch" &gt;
(06)   &lt;s12:Header&gt;
(07)     &lt;wsa:Action&gt;
(08)       http://www.example.org/oceanwatch/2003/WindReport
(09)     &lt;/wsa:Action&gt;
(10)     &lt;wsa:MessageID&gt;
(11)       urn:uuid:568b4ff2-5bc1-4512-957c-0fa545fd8d7f
(12)     &lt;/wsa:MessageID&gt;
(13)     &lt;wsa:To&gt;http://www.other.example.com/OnStormWarning&lt;/wsa:To&gt;
(14)     &lt;ew:MySubscription wsa:IsReferenceParameter="true"&gt;
(15)       2597
(16)     &lt;/ew:MySubscription&gt;
(17)   &lt;/s12:Header&gt;
(18)   &lt;s12:Body&gt;
(19)     &lt;ow:WindReport&gt;
(20)       &lt;ow:Date&gt;030701&lt;/ow:Date&gt;
(21)       &lt;ow:Time&gt;0041&lt;/ow:Time&gt;
(22)       &lt;ow:Speed&gt;65&lt;/ow:Speed&gt;
(23)       &lt;ow:Location&gt;BRADENTON BEACH&lt;/ow:Location&gt;
(24)       &lt;ow:County&gt;MANATEE&lt;/ow:County&gt;
(25)       &lt;ow:State&gt;FL&lt;/ow:State&gt;
(26)       &lt;ow:Lat&gt;27.46&lt;/ow:Lat&gt;
(27)       &lt;ow:Long&gt;82.70&lt;/ow:Long&gt;
(28)       &lt;ow:Comments xml:lang="en-US" &gt;
(29)         WINDS 55 WITH GUSTS TO 65. ROOF TORN OFF BOAT HOUSE. REPORTED
(30)         BY STORM SPOTTER. (TBW)
(31)       &lt;/ow:Comments&gt;
(32)     &lt;/ow:WindReport&gt;
(33)   &lt;/s12:Body&gt;
(34) &lt;/s12:Envelope&gt;</eg>
   </example>

   <p>
    Lines (13-16) indicate the message is sent to the endpoint
    indicated by the subscribe request (lines (32-39) in
    <specref ref="Table4"/>). Line (22) matches the filter in the
    subscribe request (lines (42-44) in <specref ref="Table4"/>).
   </p>
  </div1>

  <div1 id="Faults">
   <head>Faults</head>

   <p>
    All fault messages defined in this specification MUST be sent
    according to the rules and usage described in
    <bibref ref="WSABinding"/>
    Section 6 for encoding SOAP 1.1 and SOAP 1.2 faults.
    The <kw>[Action]</kw> property below MUST be used for faults
    defined in this specification:
   </p>

   <example>
    <eg><loc href="http://www.w3.org/&wsevt.nsprefix;/ws-evt/fault">http://www.w3.org/&wsevt.nsprefix;/ws-evt/fault</loc></eg>
   </example>
  
   <p>
    The definitions of faults in this section use the following properties:
   </p>
   
   <p>
    <kw>[Code]</kw> The fault code.<phrase/>
    <kw>[Subcode]</kw> The fault subcode.<phrase/>
    <kw>[Reason]</kw> The English language reason element.<phrase/>
    <kw>[Detail]</kw> The detail element. If absent, no detail element 
    is defined for the fault.<phrase/>
   </p>
   
   <p>The properties above bind to a SOAP 1.2 fault as follows:</p>
   <example>
    <eg>&lt;s12:Envelope&gt;
  &lt;s12:Header&gt;
    &lt;wsa:Action&gt; <kw>[Action]</kw> &lt;/wsa:Action&gt;
    &lt;!-- Headers elided for brevity. --&gt;
  &lt;/s12:Header&gt;
  &lt;s12:Body&gt;
    &lt;s12:Fault&gt;
      &lt;s12:Code&gt;
        &lt;s12:Value&gt;<kw>[Code]</kw>&lt;/s12:Value&gt;
        &lt;s12:Subcode&gt;
          &lt;s12:Value&gt;<kw>[Subcode]</kw>&lt;/s12:Value&gt;
        &lt;/s12:Subcode&gt;
      &lt;/s12:Code&gt;
      &lt;s12:Reason&gt;
        &lt;s12:Text xml:lang="en"&gt;<kw>[Reason]</kw>&lt;/s12:Text&gt;
      &lt;/s12:Reason&gt;
      &lt;s12:Detail&gt;
        <kw>[Detail]</kw>
        ...
      &lt;/s12:Detail&gt;
    &lt;/s12:Fault&gt;
  &lt;/s12:Body&gt;
&lt;/s12:Envelope&gt;</eg>
   </example>
   
   <p>The properties bind to a SOAP 1.1 fault as follows:</p>
   <example>
    <eg>&lt;s11:Envelope&gt;
  &lt;s12:Header&gt;
    &lt;wsa:Action&gt; <kw>[Action]</kw> &lt;/wsa:Action&gt;
    &lt;!-- Headers elided for brevity. --&gt;
  &lt;/s12:Header&gt;
  &lt;s11:Body&gt;
    &lt;s11:Fault&gt;
      &lt;faultcode&gt;<kw>[Subcode]</kw>&lt;/faultcode&gt;
      &lt;faultstring xml:lang="en"&gt;<kw>[Reason]</kw>&lt;/faultstring&gt;
      &lt;detail&gt;
        <kw>[Detail]</kw>
        ...
      &lt;/detail&gt;
    &lt;/s11:Fault&gt;
  &lt;/s11:Body&gt;
&lt;/s11:Envelope&gt;</eg>
   </example>

   <div2 id="FaultDetailRetryElement">
    <head>Fault Detail RetryAfter Element</head>
    <p>
     The following element MAY be used to convey additional information in 
     the detail element of a fault.
    </p>
    
    <glist>   
     <gitem>
      <label> /wse:RetryAfter</label>
      <def>
       <p>
        This element (whose content is of type xs:unsignedLong) is a suggested 
        minimum duration in milliseconds to wait before retransmitting the 
        message.   Omission of this element indicates that a retry is never 
        likely to succeed.
       </p>
      </def>
     </gitem>
    </glist>  
  
   </div2>
   
   <div2 id="UnsupportedExpirationValue">
    <head>UnsupportedExpirationValue</head>

    <p>
     This fault MUST be generated when a request specifies an
     expiration that is not within the min/max range.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:UnsupportedExpirationValue</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>The expiration time requested is not within the min/max range.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="UnsupportedExpirationType">
    <head>UnsupportedExpirationType</head>

    <p>
     This fault MUST be generated when a request specifies an
     expiration time and the event source is only capable of accepting
     expiration durations; for instance, if the event source does not
     have access to absolute time.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:UnsupportedExpirationType</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>Only expiration durations are supported.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="FilteringNotSupported">
    <head>FilteringNotSupported</head>

    <p>
     This fault MUST be generated when a Subscribe request contains a filter
     and the event source does not support filtering.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:FilteringNotSupported</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>Filtering is not supported.</td>
      </tr>

      <tr>
        <td><kw>[Detail]</kw></td>
        <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="FilteringRequestedUnavailable">
    <head>FilteringRequestedUnavailable</head>

    <p>
     This fault MUST be generated when a Subscribe request specifies a filter
     dialect that the event source does not support. This
     fault MAY contain a list of supported filter dialect IRIs in the
     Detail property.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:FilteringRequestedUnavailable</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>The requested filter dialect is not supported.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td>
        &lt;wse:SupportedDialect&gt; + 
        <phrase/>
        <emph>OPTIONAL; one per filter dialect supported by the
        receiver</emph>
       </td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="DeliveryFormatRequestedUnavailable">
    <head>DeliveryFormatRequestedUnavailable</head>

    <p>
     This fault MUST be generated when a Subscribe request specifies a delivery 
     format that is not supported by the event source. This 
     fault MAY contain a list of supported delivery format IRIs in the 
     Detail property.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:DeliveryFormatRequestedUnavailable</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>The requested delivery format is not supported.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td>
        &lt;wse:SupportedDeliveryFormat> +
        <phrase/>
        <emph> OPTIONAL, one per delivery format supported by the receiver.</emph>
       </td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="EmptyFilter">
    <head>EmptyFilter</head>

    <p>
     This fault MUST be generated when an event source detects a 
     wse:Subscribe request containing a filter that, for whatever 
     reason, will never evaluate to true.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:EmptyFilter</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>The wse:Filter would result in zero notifications.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td>
        <emph> The wse:Filter value. </emph>
       </td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="UnusableEPR">
    <head>UnusableEPR</head>

    <p>
     This fault MUST be generated when an event source detects 
     that the wse:NotifyTo or wse:EndTo EPR is unusable.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:UnusableEPR</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>An EPR in the Subscribe request message is unusable.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td>
        <emph> The specific EPR that generated the error and why. </emph>
       </td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="UnknownSubscription">
    <head>UnknownSubscription</head>

    <p>
     This fault MUST be generated when a request specifies a subscription
     that is not known.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:UnknownSubscription</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>The subscription is not known.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="EndToNotSupported">
    <head>EndToNotSupported</head>

    <p>
     This fault MUST be generated by an event source that does not support 
     /wse:Subscribe/wse:EndTo semantics, in response to a subscription 
     request that contains a wse:EndTo element. 
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:EndToNotSupported</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>wse:EndTo semantics is not supported.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="NoDeliveryMechanismEstablished">
    <head>NoDeliveryMechanismEstablished</head>

    <p>
     This fault MUST be generated by an event source when the
     Subscribe request message did not specify a delivery mechanism.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td><kw>[Code]</kw></td>
       <td>s12:Sender</td>
      </tr>

      <tr>
       <td><kw>[Subcode]</kw></td>
       <td>wse:NoDeliveryMechanismEstablished</td>
      </tr>

      <tr>
       <td><kw>[Reason]</kw></td>
       <td>No delivery mechanism specified.</td>
      </tr>

      <tr>
       <td><kw>[Detail]</kw></td>
       <td><emph>none</emph></td>
      </tr>
     </tbody>
    </table>
   </div2>

   <div2 id="CannotProcessFilter">
    <head>CannotProcessFilter</head>

    <p>
     This fault MUST be generated when the data source can not process the
     filter content.
    </p>

    <table border="1">
     <tbody>
      <tr>
       <td> <kw>[Code]</kw> </td>
       <td> s12:Sender </td>
      </tr>
      <tr>
       <td> <kw>[Subcode]</kw> </td>
       <td> wse:CannotProcessFilter </td>
      </tr>
      <tr>
       <td> <kw>[Reason]</kw> </td>
       <td>
        Cannot filter as requested.
       </td>
      </tr>
      <tr>
       <td> <kw>[Detail]</kw> </td>
       <td> </td>
      </tr>
     </tbody>
    </table>
   </div2>

  </div1>

  <div1 id="Security">
   <head>Security Considerations</head>

   <p>
    This specification considers two sets of security requirements, those of 
    the applications that use the WS-Eventing protocol and those of the 
    protocol itself.
   </p>

   <p>
    This specification makes no assumptions about the security requirements 
    of the applications that use WS-Eventing. However, once those 
    requirements have been satisfied within a given operational context, 
    the addition of WS-Eventing to this operational context cannot 
    undermine the fulfillment of those requirements; the use of 
    WS-Eventing SHOULD NOT create additional attack vectors within an 
    otherwise secure system.
   </p>

   <p>
    The material below is not a "check list". There are many other 
    security concerns that need to be considered when implementing or 
    using this protocol. Implementers and users of this protocol are 
    urged to perform a security analysis to determine their particular 
    threat profile and the appropriate responses to those threats.
   </p>

   <div2>
    <head>Notifications</head>

    <p>
     The information contained in Notifications might be sensitive. In 
     such cases it is advisable to authenticate and authorize subscribers 
     as part of the processing of the Subscribe request. Note that an 
     Event Source may authorize the delivery of Notifications on a 
     per-message basis after the subscription has been created. This 
     might be necessary in cases where the sensitivity of the Notification 
     information is not known at Subscribe time or varies over the 
     lifetime of a subscription.
    </p>

    <p>
     To protect the Notifications sent over a network, Notifications ought 
     to have the proper authenticity, integrity and confidentiality 
     protections applied.
    </p>

    <p>
     The ability to subscribe on behalf of a third-party Event Sink 
     could be misused by a malicious Subscriber to create a 
     denial-of-service attack. While it does not remove the ability for 
     such misuse, authenticating Subscribers provides a way to deter 
     and trace the origin of such attempts. Additionally, the 
     authorization of Subscribers reduces the pool of potential attackers.
    </p>
   </div2>

   <div2>
    <head>Subscriptions</head>

    <p>
     Once created, subscriptions ought to be treated as protected 
     resources. Renew, GetStatus, and Unsubscribe requests ought to be 
     authenticated and authorized (for example, the identity of the 
     requester ought to be checked against the identity of the entity 
     that performed the original Subscribe request). Likewise 
     SubscriptionEnd messages ought to be authenticated and authorized 
     (for example, the identity of the sender ought to be checked 
     against the identity of the entity that sent the original 
     SubscribeResponse message). Note that authentication and 
     authorization policies (i.e. the rules that define which entities 
     are allowed to perform which requests and the mechanisms by which 
     the identities of these entities are discovered and verified) 
     are particular to individual deployments.
    </p>
   </div2>

   <div2>
    <head>Endpoint Verification</head>

    <p>
     Implementations that perform validity checks on the EPRs used in 
     WS-Eventing (wse:NotifyTo, wse:EndTo) are advised that such checks 
     can be misused to obtain information about a target network. For 
     example, suppose an Event Source implementation verifies the address 
     of NotifyTo EPRs by attempting to create a connection to the EPR's
     address and faulting the Subscribe request if a connection cannot 
     be created. When deployed within a DMZ, such an Event Source could 
     be exploited by a malicious Subscriber to probe for other, 
     non-visible hosts by guessing target addresses and using them in 
     Subscribe requests. Note that, even if the returned fault does not 
     provide connection information, the time the Event Source spends 
     processing the Subscribe request might reveal if there is a host 
     with the target address.
    </p>

    <p>
     Implementations that perform validity checks on the EPRs used in 
     WS-Eventing are advised to provide a means to disable such checks 
     in environments where these types of attacks are an issue.
    </p>
   </div2>

  </div1>

  <div1 id="ImplConsideration">
   <head>Implementation Considerations</head>

   <p>
    Event sinks SHOULD be prepared to receive notifications after
    sending a subscribe request but before receiving a subscribe
    response message. Event sinks SHOULD also be prepared to receive
    notifications after receiving an unsubscribe response
    message.
   </p>
  </div1>

  <div1 id="metadata">
   <head>WS-Eventing Metadata</head>

   <p>
    An endpoint MAY indicate its support of WS-Eventing, or its features,
    by including the WS-Eventing EventSource or SubscriptionManager Policy 
    assertions within its WSDL. By
    doing so the endpoint is indicating that the corresponding WS-Eventing
    operations are supported by that endpoint even though they are implicit
    and do not
    explicitly appear in its WSDL (ie. the WS-Eventing operations do not
    appear in the WSDL that MAY be retrievable by using WS-MetadataExchange
    GetWSDL to that endpoint).
   </p>

   <p>
    The WS-Eventing WSDL containing the operations indicated by the
    EventSource or SubscriptionManager assertions MAY be exposed 
    by including the WSDL as a child of the appropriate Policy 
    assertion or by including a reference to it using the mex:Location 
    or mex:Reference element ( as described in
    WS-MetadataExchange <bibref ref="MEX"/> Section 9).
   </p>

   <p>
    This WS-Eventing WSDL can be annotated to indicate any endpoint
    specific metadata that might be needed by clients interacting with
    the WS-Eventing operations.   For example, the WSDL MAY 
    have policy assertions
    that indicate a particular security mechanism used to protect
    the WS-Eventing operations supported by this endpoint.
   </p>

   <div2>
    <head>EventSource Assertion</head>

    <p>
     Services indicate support for the WS-Eventing's definition 
     of an event source through the use of the Web Services
     Policy - Framework <bibref ref="wspolicy"/> and Web Services Policy -
     Attachment <bibref ref="wspolicyattach"/> specifications.
    </p>

    <p>
     This specification defines a policy assertion (wse:EventSource). 
     The normative outline of this assertion is:
    </p>

    <example>
     <eg>&lt;wse:EventSource ...>
  &lt;wse:FilterDialect URI="<emph>xs:anyURI</emph>" ...>
    <emph>xs:any</emph>*
  &lt;/wse:FilterDialect> * 
  &lt;wse:FormatName URI="<emph>xs:anyURI</emph>" ...>
    &lt;!-- Notification WSDL can go here - see <specref show="title" ref="Advertising"/> -->
    <emph>xs:any</emph>*
  &lt;/wse:FormatName> * 
  &lt;wse:DateTimeSupported .../> ?
  &lt;wse:Expires min="<emph>xs:duration</emph>"? max="<emph>xs:duration</emph>"? .../> ? 
  &lt;wse:EndToSupported .../> ?
  &lt;wse:NotificationPolicy ...>
    <emph>xs:any</emph>
  &lt;/wse:NotificationPolicy> ?
  &lt;!-- EventDescription data can go here - see <specref show="title" ref="Advertising"/> -->
  <emph>xs:any</emph>*
&lt;/wse:EventSource></eg>
    </example>

    <p>
     The following describes additional, normative constraints on the
     outline listed above:
    </p>

    <glist>

     <gitem>
      <label> /wse:EventSource </label>
       <def>
        <p>
         This policy assertion has Endpoint Policy Subject. When present in a
         policy alternative, it indicates that the subject is an event source
         and the WS-Eventing protocol MUST
         be used when communicating with this endpoint.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:FilterDialect </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates support for the 
         specified filter dialect IRI.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:FilterDialect/xs:any </label>
       <def>
        <p>
         This extensibility point allows for additional FilterDialect 
         specific metadata to be included within the policy assertion. Any 
         metadata that appears is scoped to the use of the specified 
         FilterDialect URI.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:FormatName </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates support for the 
         specified event delivery format name URI.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:FormatName/xs:any </label>
       <def>
        <p>
         This extensibility point allows for additional FormatName specific 
         metadata to be included within the policy assertion. Any metadata 
         that appears is scoped to the use of the specified FormatName URI.
         If the Event Source advertises Notification WSDL then it MUST 
         appear as a child of the FormatName element.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:DateTimeSupported </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates support for 
         expiration time expressed as specific time (rather than duration).
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:Expires </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates the minimum and
         maximum subscription expiration times that this endpoint will support. 
         When the OPTIONAL 'min' attribute is absent then the Event Source
         MUST not impose a lower bound on the accepted Expires values. The
         implied default value for the OPTIONAL 'max' attribute is
         infinite (or PT0S). In all cases, the 'min' value MUST be less
         than or equal to the 'max' value.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:EndToSupported </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates support for the 
         /wse:Subscribe/wse:EndTo semantics. That is, when a subscription 
         request contains a wse:EndTo element, a SubscriptionEnd message 
         will be sent to the EPR contained in the wse:EndTo element, if 
         the subscription terminates unexpectedly. 
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/wse:NotificationPolicy </label>
       <def>
        <p>
         When present, this OPTIONAL parameter includes the Endpoint Subject 
         Policy that the event source supports for sending notifications. 
         This element MUST have one child element - typically a wsp:Policy 
         element or a wsp:PolicyReference element. A subscriber can use 
         this information to discover the valid set of Policy Alternatives 
         that MAY be used within a wse:NotifyTo EPR which will be
         used for any Notification message sent from the event source to 
         the event sink.
         Any policy alternatives included within this parameter SHOULD be 
         compatible with those Policy Alternatives available from the 
         Notification WSDLs that the event source advertises.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:EventSource/xs:any </label>
       <def>
        <p>
         This extensibility point allows for additional WS-Eventing 
         specific metadata to be included within the policy assertion - 
         e.g. WS-Eventing WSDL, or nested policy assertions related to 
         the WS-Eventing message exchanges. Any metadata that appears 
         is scoped to the operations and features of the WS-Eventing 
         specification.
         If the Event Source advertises EventDescription data then it 
         MUST appear as a child of the EventSource element.
        </p>
       </def>
     </gitem>
    </glist>

    <p>
     The following is an example of a wse:EventSource policy assertion:
    </p>

    <example>
     <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:DateTimeSupported />
(03)   &lt;wse:FilterDialect URI="http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath10"/>
(04)   &lt;wse:FormatName URI="http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Wrap">
(05)     &lt;wsdl:definitions>
(06)       &lt;!-- WSDL for Wrapped Notifications -->
(07)     &lt;/wsdl:definitions>
(08)   &lt;/wse:FormatName>
(09)   &lt;wse:EndToSupported/>
(10)   &lt;wsevd:EventDescriptions>
(11)     &lt;!-- EventDescription data -->
(12)   &lt;/wsevd:EventDescriptions>
(13) &lt;/wse:EventSource></eg>
    </example>

    <p>
     In the above example line (02) indicates that this event source 
     supports expiration times as specific times. Line (03) indicates that 
     Filtering is supported and that it supports the XPath 1.0 filter 
     dialect.  Lines (04) - (08) indicates that this event source supports 
     sending notifications in the Wrapped format and the Notification WSDL 
     defining the messages is included on lines (05) - (07).  Line (09) 
     indicates that the EndTo features is supported.  And finally, lines 
     (10) - (12) contains the EventDescription data that describes the 
     syntax of the events that this event source might send.
    </p>

   </div2>

   <div2>
    <head>SubscriptionManager Assertion</head>

    <p>
     Services indicate support for the
     WS-Eventing's definition of a subscription manager 
     through the use of the Web Services
     Policy - Framework <bibref ref="wspolicy"/> and Web Services Policy -
     Attachment <bibref ref="wspolicyattach"/> specifications.
    </p>

    <p>
     This specification defines a policy assertion (wse:SubscriptionManager).
     The normative outline of this assertion is:
    </p>

    <example>
     <eg>&lt;wse:SubscriptionManager ...>
  &lt;wse:DateTimeSupported .../> ?
  &lt;wse:Expires min="<emph>xs:duration</emph>"? max="<emph>xs:duration</emph>"? .../> ?
  <emph>xs:any</emph>*
&lt;/wse:SubscriptionManager></eg>
    </example>

    <p>
     The following describes additional, normative constraints on the
     outline listed above:
    </p>

    <glist>

     <gitem>
      <label> /wse:SubscriptionManager </label>
       <def>
        <p>
         This policy assertion has Endpoint Policy Subject. When present in a
         policy alternative, it indicates that the subject is an subscription
         manager
         and the WS-Eventing protocol MUST
         be used when communicating with this endpoint.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:SubscriptionManager/wse:DateTimeSupported </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates support for 
         expiration time expressed as specific time (rather than duration).
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:SubscriptionManager/wse:Expires </label>
       <def>
        <p>
         When present, this OPTIONAL parameter indicates the minimum and
         maximum subscription expiration times that this endpoint will support.
         When the OPTIONAL 'min' attribute is absent then the Event Source
         MUST not impose a lower bound on the accepted Expires values. The
         implied default value for the OPTIONAL 'max' attribute is
         infinite (or PT0S). In all cases, the 'min' value MUST be less
         than or equal to the 'max' value.
        </p>
       </def>
     </gitem>

     <gitem>
      <label> /wse:SubscriptionManager/xs:any </label>
       <def>
        <p>
         This extensibility point allows for additional WS-Eventing 
         specific metadata to be included within the policy assertion - 
         e.g. WS-Eventing WSDL, or nested policy assertions related to the 
         WS-Eventing message exchanges. Any metadata that appears is scoped 
         to the operations and features of the WS-Eventing specification.
        </p>
       </def>
     </gitem>

    </glist>

   </div2>
  </div1>

  <div1 id="acks">
   <head>Acknowledgements</head>

   <p>
    This specification has been developed as a result of joint
    work with many individuals and teams, including: 
     Alessio Soldano (Red Hat),
     Ashok Malhotra (Oracle Corp.),
     Asir Vedamuthu (Microsoft Corp.),
     Bob Freund (Hitachi, Ltd.),
     Bob Natale (MITRE Corp.),
     David Snelling (Fujitsu, Ltd.),
     Doug Davis (IBM),
     Fred Maciel (Hitachi, Ltd.),
     Geoff Bullen (Microsoft Corp.),
     Gilbert Pilz (Oracle Corp.),
     Greg Carpenter (Microsoft Corp.),
     Jeff Mischkinsky (Oracle Corp.),
     Katy Warr (IBM),
     Li Li (Avaya Communications),
     Mark Little (Red Hat),
     Martin Chapman (Oracle Corp.),
     Paul Fremantle (WSO2),
     Paul Nolan (IBM),
     Prasad Yendluri (Software AG),
     Ram Jeyaraman (Microsoft Corp.),
     Sreedhara Narayanaswamy (CA),
     Sumeet Vij (Software AG),
     Tom Rutt (Fujitsu, Ltd.),
     Vikas Varma (Software AG),
     Wu Chou (Avaya Communications),
     Yves Lafon (W3C/ERCIM).
   </p>
  </div1>

  <div1 id="refs">
   <head>References</head>

   <div2>
    <head>Normative References</head>

    <blist>
     <bibl key="BP12" id="BP12"
      href="http://ws-i.org/profiles/BasicProfile-1.2-2010-11-09.html">
        <titleref>
         WS-I Profile, Basic Profile Version 1.2
        </titleref>
        , R. Chumbley, et al, Editors.
        Web Services Interoperability Organization (WS-I), 9 November 2010.
     </bibl>

     <bibl key="BP20" id="BP20"
      href="http://ws-i.org/profiles/BasicProfile-2.0-2010-11-09.html">
        <titleref>
         WS-I Profile, Basic Profile Version 2.0
        </titleref>
        , R. Chumbley, et al, Editors.
        Web Services Interoperability Organization (WS-I), 9 November 2010.
     </bibl>

     <bibl key="RFC 2119" id="RFC2119"
      href="http://www.ietf.org/rfc/rfc2119.txt">
       <titleref>
        Key words for use in RFCs to Indicate Requirement Levels
       </titleref>
       , S. Bradner, Author.
       Internet Engineering Task Force, March 1997.
     </bibl>

     <bibl key="RFC 3987" id="RFC3987"
      href="http://www.ietf.org/rfc/rfc3987.txt">
       <titleref>
        Internationalized Resource Identifiers (IRIs)
       </titleref>
       , M. Duerst and M. Suignard, Authors.
       Internet Engineering Task Force, January 2005.
     </bibl>

     <bibl key="SOAP11" id="SOAP11"
      href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/">
       <titleref>
        W3C Note, "Simple Object Access Protocol (SOAP) 1.1"
       </titleref>
       , D. Box, et al, Editors.
       World Wide Web Consortium (W3C), 8 May 2000.
     </bibl>

     <bibl key="SOAP12" id="SOAP12"
      href="http://www.w3.org/TR/soap12-part1/">
       <titleref>
        W3C Recommendation, "SOAP Version 1.2 Part 1: Messaging Framework"
       </titleref>
       , M. Gudgin, M. Hadley, N. Mendelsohn, J-J. Moreau, H. Frystyk Nielson,
        Editors.
       World Wide Web Consortium (W3C), 27 April 2007.
     </bibl>

     <bibl key="WS-Addressing" id="AddrCore"
      href="http://www.w3.org/TR/ws-addr-core">
       <titleref>
        W3C Recommendation, "Web Services Addressing 1.0 (WS-Addressing)"
       </titleref>
       , M. Gudgin, M. Hadley, T. Rogers, Editors.
       World Wide Web Consortium (W3C), 9 May 2006.
     </bibl>

     <bibl key="WS-Addressing 1.0 SOAP Binding" id="WSABinding"
      href="http://www.w3.org/TR/ws-addr-soap">
       <titleref>
        W3C Recommendation, "Web Services Addressing 1.0 - SOAP Binding"
       </titleref>
       , M. Gudgin, M. Hadley, T. Rogers, Editors.
       World Wide Web Consortium (W3C), 9 May 2006.
     </bibl>

     <bibl key="WS-EventDescriptions" id="WSEVD"
      href="http://www.w3.org/TR/ws-event-descriptions">
      <titleref>
       W3C Working Group Draft, "Web Services Event Descriptions (WS-EventDescriptions) 1.0"
      </titleref>
      , D. Davis, et al., Editors.
      World Wide Web Consortium (W3C), 15 September 2009.
     </bibl>
     
     <bibl key="WS-Policy" id="wspolicy"
      href="http://www.w3.org/TR/ws-policy/">
       <titleref>
        W3C Recommendation, "Web Services Policy (WS-Policy) 1.5 - Framework"
       </titleref>
       , A. Vedamuthu, et al., Editors.
       World Wide Web Consortium (W3C), 4 September 2007.
     </bibl>

     <bibl key="WS-Policy Attachment" id="wspolicyattach"
      href="http://www.w3.org/TR/ws-policy-attach">
       <titleref>
        W3C Recommendation, "Web Services Policy (WS-Policy) 1.5 - Attachment"
       </titleref>
       , A. Vedamuthu, et al., Editors.
       World Wide Web Consortium (W3C), 4 September 2007.
     </bibl>

     <bibl key="WSDL11" id="WSDL11"
      href="http://www.w3.org/TR/2001/NOTE-wsdl-20010315">
       <titleref>
        W3C Note, "Web Services Description Language (WSDL) 1.1"
       </titleref>
       , E. Christensen, et al., Editors.
       World Wide Web Consortium (W3C), 15 March 2001
     </bibl>
    </blist>

   </div2>

   <div2>
    <head>Informative References</head>

    <blist>
     <bibl key="WS-MakeConnection" id="WSMC"
      href="http://docs.oasis-open.org/ws-rx/wsmc/v1.1/wsmc.doc">
       <titleref>
        OASIS Standard, "Web Services Make Connection (WS-MakeConnection) 1.1"
        Web Services Make Connection (WS-MakeConnection)
       </titleref>
       , D. Davis, et al., Editors.
       Organization for the Advancement of Structured Information Standards 
         (OASIS), 2 February 2009.
     </bibl>

     <bibl key="WS-MetadataExchange" id="MEX"
      href="http://www.w3.org/TR/ws-metadata-exchange">
       <titleref>
        W3C Working Group Draft, "Web Services Metadata Exchange 
          (WS-MetadataExchange) 1.1"
       </titleref>
       , D. Davis, et al., Editors.
       World Wide Web Consortium (W3C), 15 September 2009.
     </bibl>
 
     <bibl key="WS-ReliableMessaging" id="WSReliableMessaging"
      href="http://docs.oasis-open.org/ws-rx/wsrm/v1.2/wsrm.doc">
       <titleref>
        OASIS Standard, "Web Services Reliable Messaging Protocol 
          (WS-ReliableMessaging) 1.2"
       </titleref>
       , Davis, et al., Editors.
       Organization for the Advancement of Structured Information Standards 
         (OASIS), 2 February 2009.
     </bibl>

     <bibl key="XML Infoset" id="XMLInfoset"
      href="http://www.w3.org/TR/xml-infoset">
       <titleref>
        W3C Recommendation, "XML Information Set (Second Edition)"
       </titleref>
       , J. Cowan, R. Tobin, Editors.
       World Wide Web Consortium (W3C), 4 February 2004.
     </bibl>

     <bibl key="XMLSchema - Part 1" id="XMLSchema1"
      href="http://www.w3.org/TR/xmlschema-1/">
       <titleref>
        W3C Recommendation, "XML Schema Part 1: Structures (Second Edition)"
       </titleref>
       , H. Thompson, et al., Editors.
       World Wide Web Consortium (W3C), 28 October 2004.
     </bibl>

     <bibl key="XMLSchema - Part 2" id="XMLSchema2"
      href="http://www.w3.org/TR/xmlschema-2/">
       <titleref>
        W3C Recommendation, "XML Schema Part 2: Datatypes (Second Edition)"
       </titleref>
       , P. Biron, A. Malhotra, Editors.
       World Wide Web Consortium (W3C), 28 October 2004.
     </bibl>

     <bibl key="XPath1.0" id="XPath1"
      href="http://www.w3.org/TR/xpath">
       <titleref>
        W3C Recommendation, "XML Path Language (XPath) Version 1.0"
       </titleref>
       , J. Clark, S. DeRose, Editors.
       World Wide Web Consortium (W3C), 16 November 1999.
     </bibl>

     <bibl key="XPath2.0" id="XPath2"
      href="http://www.w3.org/TR/xpath20/">
       <titleref>
        W3C Recommendation, "XML Path Language (XPath) 2.0"
       </titleref>
       , A. Berglund, et al., Editors.
       World Wide Web Consortium (W3C), 23 January 2007.
     </bibl>

    </blist>
   </div2>

  </div1>
 </body>

 <back>
  <div1 id="Advertising">
   <head>Advertising Event Information</head>

   <p>
    There are many use cases for WS-Eventing in which it is necessary for the 
    subscriber and the event sink to know the structure and contents of the 
    notifications that can result from a successful Subscribe request. For 
    example, a developer might wish to use WSDL-based tools to generate 
    service stubs capable of unmarshalling and dispatching notifications. In 
    addition to this, the effective use of filters (including those in the 
    XPath dialect defined in <specref ref="Subscribe"/> as well as other 
    dialects not defined in this specification) requires some knowledge of 
    the schema of the events over which the filter will be applied. 
   </p>

   <p>
    There are many ways in which an event source could describe and 
    advertise the structure of the events for which it will issue 
    notifications. To provide a basic level of interoperability, this 
    specification uses the following two OPTIONAL mechanisms, in 
    <specref ref="ETypes"/> and <specref ref="NWSDL"/>, for describing and 
    advertising event information. If an implementation of a WS-Eventing 
    event source chooses to describe the structure of its events and 
    advertise this description, it is RECOMMENDED that at least one of 
    these mechanisms be used. Mechanisms other than these MAY be used 
    to describe and advertise the structure of events, but the definition 
    of such mechanisms is out of the scope of this specification. 
   </p>

   <div2 id="ETypes">
    <head>Event Types &amp; Event Descriptions</head>

    <p>
     An event source MAY advertise the events that are generated by making 
     available an Event Description document as defined by 
     WS-EventDescriptions <bibref ref="WSEVD"/>.
    </p>

    <p>
     The following is an example of an EventDescriptions element that could 
     serve as a description of the Event Type used in 
     <specref ref="Table1"/>.
    </p>

    <example>
     <head>EventDescriptions</head>
     <eg>(01) &lt;wsevd:EventDescriptions 
(02)        targetNamespace="http://www.example.org/oceanwatch/notifications"
(03)        xmlns:wsevd="http://www.w3.org/&wsevt.nsprefix;/ws-evt"
(04)        xmlns:ow="http://www.example.org/oceanwatch">
(05)   &lt;wsevd:types>
(06)     &lt;xs:schema targetNamespace="http://www.example.org/oceanwatch">
(07)       &lt;xs:include schemaLocation="http://www.example.org/schemas/oceanwatch.xsd"/>
(08)       &lt;xs:element id="WindReport" type="ow:WindReportType"/>
(09)     &lt;/xs:schema>
(10)   &lt;/wsevd:types>
(11)
(12)   &lt;wsevd:eventType id="WindReportEvent"
(13)                  element="ow:WindReport"
(14)                  actionURI="http://www.example.org/oceanwatch/2003/WindReport"/>
(15) &lt;/wsevd:EventDescriptions></eg>
    </example>

    <p>
     Lines (12-14) describe an Event Type with a QName of 
     "{http://www.example.org/oceanwatch/notifications}:WindReportEvent". The 
     XML Schema Global Element Declaration
     (GED) for this Event Type is defined on line (08) as being of type 
     "{http://www.example.org/oceanwatch}:WindReportType". 
    </p>

    <div3>
     <head>Retrieving Event Descriptions</head>
     <p>
      Although there are many ways in which an event source can make its 
      EventDescriptions available, this specification RECOMMENDS the use of 
      the mechanisms described in WS-MetadataExchange <bibref ref="MEX"/>.
      In particular, this specification RECOMMENDS that the Event Description 
      metadata be made available through the EventSource Policy assertion. 
      This MAY be done by either embedding the Event Descriptions metadata 
      directly within the assertion, or by including a MetadataExchange 
      reference to the data. 
     </p>

     <p>
      An event source MUST NOT have more than one EventDescriptions document.
     </p>

     <p>
      The following examples show how Event Descriptions metadata might
      appear within a WS-Eventing EventSource Policy assertion.
     </p>

     <example id="embedEVD">
      <head>Sample Embedded Event Descriptions Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="..."/>
(03)   &lt;wsevd:EventDescriptions ...>
(04)     ...
(05)   &lt;/wsevd:EventDescriptions>
(06) &lt;/wse:EventSource></eg>
     </example>

     <p>
      <specref ref="embedEVD"/> shows how the Event Descriptiona metadata
      might be embedded directly within a WS-Eventing EventSource Policy
      assertion.
     </p>

     <example id="refEVD">
      <head>Sample Reference to Event Descriptions Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="..."/>
(03)   &lt;mex:Location
(04)     Type="evd:EventDescriptions"
(05)     URI="http://example.com/EVD_Metadata" />
(06) &lt;/wse:EventSource> </eg>
     </example>

     <p>
      <specref ref="refEVD"/> shows the same policy assertion from
      <specref ref="embedEVD"/> except the embedded Event Description
      metadata is replaced with a reference to an HTTP resource whose
      representation is the Event Descriptions metadata. The data can be
      retrieved via an HTTP GET to the specified URL.
     </p>

     <example id="mexEVD">
      <head>Sample GetMetadataResponse with Event Descriptions Metadata</head>
      <eg>(01) &lt;mex:GetMetadataResponse>
(02)   &lt;mex:Metadata>
(03)     &lt;mex:MetadataSection Dialect='wsevd:EventDescriptions'
(04)         Identifier='...'>
(05)       &lt;wsevd:EventDescriptions ...>
(06)         ...
(07)       &lt;/wsevd:EventDescriptions>
(08)     &lt;/mex:MetadataSection>
(09)   &lt;/mex:Metadata>
(10) &lt;/mex:GetMetadataResponse> </eg>
     </example>

     <p>
      <specref ref="mexEVD"/> shows how the Event Descriptions metadata
      might appear within a GetMetadataResponse message.
     </p>

    </div3>

    <div3>
     <head>Bindings for Event Descriptions</head>
     <p>
      For any Notification Format it MUST be possible to determine how a 
      given wsevd:eventType will appear on the wire as a notification in a 
      subscription created with that format. The following sections define 
      how wsevd:eventTypes bind to notifications for the two Notification 
      Formats defined in this specification; Unwrapped and Wrapped. 
      Specifications or profiles that define additional Notification Formats 
      MUST define how wsevd:eventTypes bind to the notifications for those 
      formats. In the absence of a mapping for a particular Notification 
      Format, implementations MAY provide a Notification WSDL (see below) 
      that explicitly describes the notification operations. 
     </p>

     <div4>
      <head>Binding for Unwrapped Notifications</head>
      <p>
       The information about an Event Type contained in the wsevd:eventType 
       element binds to a Unwrapped Notification for that type as follows:
      </p>

      <ulist>
       <item>
        <p>
         The <kw>[Action]</kw> property of the notification has the value of 
         the @actionURI attribute of the wsevd:eventType element 
         corresponding to the type of the event being transmitted.
        </p>
       </item>
       <item>
        <p>
         The <kw>[Body]</kw> property of the notification
         has a single child element. This child element is an instance of 
         the Global Element Declaration referenced by the @element attribute 
         of the wsevd:eventType element corresponding to the type of the 
         event being transmitted. If the @element attribute is absent then
         the <kw>[Body]</kw> property has no children.
        </p>
       </item>
      </ulist>
     </div4>

     <div4>
      <head>Binding for Wrapped Notifications</head>
      <p>
       The information about an Event Type contained in the eventType element 
       binds to a Wrapped Notification for that type as follows: 
      </p>

      <ulist>
       <item>
        <p>
         The /soap:Envelope/soap:Body/wse:Notify/@actionURI attribute of the 
         Wrapped Notification has the value of the @actionURI attribute of 
         the eventType element corresponding to the type of the event 
         being transmitted. 
        </p>
       </item>
       <item>
        <p>
         The /soap:Envelope/soap:Body/wse:Notify element has a single child 
         element. This child element is an instance of the Global Element 
         Declaration referenced by the @element attribute of the eventType 
         element corresponding to the type of the event being transmitted. 
         If the @element attribute is absent then the wse:Notify element
         has no children.
        </p>
       </item>
      </ulist>
     </div4>

    </div3>
   </div2>

   <div2 id="NWSDL">
    <head>Notification WSDLs</head>

    <p>
     As described previously, events are transmitted to event sinks as 
     SOAP messages called "Notifications". These notifications MAY be 
     described via a Web Services Description Language <bibref ref="WSDL11"/>
     definitions element termed a "Notification WSDL". A Notification WSDL 
     describes the interface that the event sink is REQUIRED to implement to 
     receive and process the notifications that might result from a 
     successful Subscribe request that used a particular Format IRI. The 
     following is an example of a Notification WSDL: 
    </p>

    <example>
     <head>Notification WSDL</head>
     <eg>(01) &lt;wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
(02)                   targetNamespace="http://www.example.org/oceanwatch/notifications"
(03)                   xmlns:xs="http://www.w3.org/2001/XMLSchema"
(04)                   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
(05)                   xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
(06)                   xmlns:ow="http://www.example.org/oceanwatch"
(07)                   xmlns:tns="http://www.example.org/oceanwatch/notifications">
(08)   &lt;wsdl:types>
(09)     &lt;xs:schema targetNamespace="http://www.example.org/oceanwatch">
(10)       &lt;xs:include schemaLocation="http://www.example.org/schemas/oceanwatch.xsd"/>
(11)       &lt;xs:element name="WindReport" type="ow:WindReportType"/>
(12)     &lt;/xs:schema>
(13)   &lt;/wsdl:types>
(14)
(15)   &lt;wsdl:message name="WindReportNotificationMsg">
(16)     &lt;wsdl:part name="event" element="ow:WindReport"/>
(17)   &lt;/wsdl:message>
(18)
(19)   &lt;wsdl:portType name="WindReportPortType">
(20)     &lt;wsdl:operation name="WindReportNotificationOp">
(21)       &lt;wsdl:input message="tns:WindReportNotificationMsg"
(22)                  wsam:Action="http://www.example.org/oceanwatch/2003/WindReport"/>
(23)     &lt;/wsdl:operation>
(24)   &lt;/wsdl:portType>
(25)
(26)   &lt;wsdl:binding name="WindReportBinding" type="tns:WindReportPortType">
(27)     &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
(28)     &lt;wsdl:operation name="WindReportNotificationOp">
(29)       &lt;soap:operation soapAction=""/>
(30)       &lt;wsdl:input>
(31)         &lt;soap:body use="literal"/>
(32)       &lt;/wsdl:input>
(33)     &lt;/wsdl:operation>
(34)   &lt;/wsdl:binding>
(35) &lt;/wsdl:definitions></eg>
    </example>

    <div3>
     <head>Retrieving Notification WSDLs</head>
     <p>
      Although there are many ways in which an event source can make 
      Notification WSDLs available, this specification RECOMMENDS the use of 
      the mechanisms described in WS-MetadataExchange <bibref ref="MEX"/>.
      In particular, if an event source has Notification WSDL then it
      SHOULD be referenced from the wse:EventSource policy assertion.
     </p>

     <example id="embedNW">
      <head>Sample Embedded Notification WSDL Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="...">
(03)     &lt;wsdl:definitions ...> ... &lt;/wsdl:definitions>
(04)   &lt;/wse:FormatName>
(05) &lt;/wse:EventSource></eg>
     </example>

     <p>
      <specref ref="embedNW"/> shows how the Notification WSDL metadata
      might be embedded directly within a WS-Eventing EventSource Policy
      assertion. Notice that since Notification WSDL is related to
      a particular FormatName, the Notification WSDL appears as a child
      of the FormatName element.
     </p>

     <example id="refNW">
      <head>Sample Reference to WSDL Definitions Metadata</head>
      <eg>(01) &lt;wse:EventSource ...>
(02)   &lt;wse:FormatName URI="...">
(03)     &lt;mex:Location
(04)       Type="wsdl:definitions"
(05)       URI="http://example.com/Notif_WSDL_Metadata" />
(06)   &lt;/wse:FormatName>
(07) &lt;/wse:EventSource> </eg>
     </example>

     <p>
      <specref ref="refNW"/> shows the same policy assertion from
      <specref ref="embedNW"/> except the embedded Notification WSDL
      metadata is replaced with a reference to an HTTP resource whose
      representation is the WSDL definitions metadata. The data can be
      retrieved via an HTTP GET to the specified URL.
     </p>

     <example id="mexNW">
      <head>Sample GetMetadataResponse with WSDL Definitions Metadata</head>
      <eg>(01) &lt;mex:GetMetadataResponse>
(02)   &lt;mex:Metadata>
(03)     &lt;mex:MetadataSection Dialect='wsdl:definitions'
(04)         Identifier='...'>
(05)       &lt;wsdl:definitions ...>
(06)         ...
(07)       &lt;/wsdl:definitions>
(08)     &lt;/mex:MetadataSection>
(09)   &lt;/mex:Metadata>
(10) &lt;/mex:GetMetadataResponse> </eg>
     </example>

     <p>
      <specref ref="mexNW"/> shows how the WSDL definitions metadata
      might appear within a GetMetadataResponse message. Notice that
      because the metadata returned only contains the WSDL, and not
      the associated FormatName URI, retrieving the Notificaton WSDL
      in this fashion requires some other means to disambiguate multiple
      Notification WSDL documents from each other as well as from any other
      WSDL documents associated with the Event Source.
     </p>

    </div3>

   </div2>

  </div1>

  <div1 id="Schema">
   <head>XML Schema</head>

   <p>
    A normative copy of the XML Schema <bibref ref='XMLSchema1'/>,
    <bibref ref='XMLSchema2'/> description for this specification can be
    retrieved from the following address:
   </p>

   <example>
    <eg><loc href='http://www.w3.org/&wsevt.nsprefix;/ws-evt/eventing.xsd'>http://www.w3.org/&wsevt.nsprefix;/ws-evt/eventing.xsd</loc></eg>
   </example>

   <p>
    A non-normative copy of the XML schema is listed below for
    convenience.
   </p>

   <example>
    <eg>&lt;xs:schema 
  targetNamespace='http://www.w3.org/&wsevt.nsprefix;/ws-evt' 
  xmlns:tns='http://www.w3.org/&wsevt.nsprefix;/ws-evt'
  xmlns:wsa='http://www.w3.org/2005/08/addressing'
  xmlns:xs='http://www.w3.org/2001/XMLSchema' 
  elementFormDefault='qualified' 
  blockDefault='#all'>
  
  &lt;xs:import 
    namespace='http://www.w3.org/XML/1998/namespace' 
    schemaLocation='http://www.w3.org/2001/xml.xsd' />
  &lt;xs:import
    namespace='http://www.w3.org/2005/08/addressing'
    schemaLocation='http://www.w3.org/2006/03/addressing/ws-addr.xsd' />
 
  &lt;!-- Types and global elements -->
  &lt;xs:complexType name='DeliveryType' mixed='true'>
    &lt;xs:sequence>
      &lt;xs:element ref='tns:NotifyTo' minOccurs='0' maxOccurs='1' />
      &lt;xs:any namespace='##other' processContents='lax' 
              minOccurs='0' maxOccurs='unbounded' />
    &lt;/xs:sequence>
    &lt;xs:anyAttribute namespace='##other' processContents='lax' />
  &lt;/xs:complexType>
 
  &lt;xs:complexType name='FormatType' mixed='true'>
    &lt;xs:sequence>
      &lt;xs:any namespace='##any' processContents='lax' 
              minOccurs='0' maxOccurs='unbounded' />
    &lt;/xs:sequence>
    &lt;xs:attribute name='Name' type='xs:anyURI' use='optional' 
      default='http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Unwrap' />
    &lt;xs:anyAttribute namespace='##other' processContents='lax' />
  &lt;/xs:complexType>
 
  &lt;xs:simpleType name='NonNegativeDurationType'>
    &lt;xs:restriction base='xs:duration'>
      &lt;xs:minInclusive value='P0Y0M0DT0H0M0S' />
    &lt;/xs:restriction>
  &lt;/xs:simpleType>
 
  &lt;xs:simpleType name='DurationDateTime'>
      &lt;xs:union memberTypes='xs:dateTime tns:NonNegativeDurationType' />
  &lt;/xs:simpleType>
 
  &lt;xs:complexType name='MiniExpirationType'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='tns:DurationDateTime'>
        &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>

  &lt;xs:complexType name='ExpirationType'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='tns:MiniExpirationType'>
        &lt;xs:attribute name='BestEffort' type='xs:boolean' use='optional'/>
        &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>

  &lt;xs:complexType name='FilterType' mixed='true'>
    &lt;xs:sequence>
      &lt;xs:any namespace='##other' processContents='lax' 
              minOccurs='0' maxOccurs='unbounded' />
    &lt;/xs:sequence>
    &lt;xs:attribute name='Dialect' type='xs:anyURI' use='optional' 
      default='http://www.w3.org/&wsevt.nsprefix;/ws-evt/Dialects/XPath10' />
    &lt;xs:anyAttribute namespace='##other' processContents='lax' />
  &lt;/xs:complexType>
 
  &lt;xs:complexType name='LanguageSpecificStringType'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='xs:string'>
        &lt;xs:attribute ref='xml:lang' />
        &lt;xs:anyAttribute namespace='##other' processContents='lax' />
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>
 
  &lt;xs:element name='NotifyTo' type='wsa:EndpointReferenceType' />

  &lt;xs:complexType name='NotificationPolicy'>
    &lt;xs:sequence>
      &lt;xs:any namespace='##other' processContents='lax'
              maxOccurs='unbounded'/>
    &lt;/xs:sequence>
  &lt;/xs:complexType>

  &lt;!-- Subscribe request -->
  &lt;xs:element name='Subscribe'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='EndTo' type='wsa:EndpointReferenceType' 
                    minOccurs='0' />
        &lt;xs:element name='Delivery' type='tns:DeliveryType' />
        &lt;xs:element name='Format' type='tns:FormatType' 
                    minOccurs='0' />
        &lt;xs:element name='Expires' type='tns:ExpirationType' 
                    minOccurs='0' />
        &lt;xs:element name='Filter' type='tns:FilterType' 
                    minOccurs='0' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- Subscribe response -->
  &lt;xs:element name='SubscribeResponse'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='SubscriptionManager' 
                    type='wsa:EndpointReferenceType' />
        &lt;xs:element name='GrantedExpires' type='tns:MiniExpirationType' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- Used in a fault if there's an unsupported dialect -->
  &lt;xs:element name='SupportedDialect' type='xs:anyURI' />
 
  &lt;!-- Used in a fault if there's an unsupported format name -->
  &lt;xs:element name='SupportedDeliveryFormat' type='xs:anyURI' />
 
  &lt;!-- Renew request -->
  &lt;xs:element name='Renew'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='Expires' type='tns:ExpirationType' 
                    minOccurs='0' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- Renew response -->
  &lt;xs:element name='RenewResponse'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='GrantedExpires' type='tns:MiniExpirationType' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- GetStatus request -->
  &lt;xs:element name='GetStatus'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- GetStatus response -->
  &lt;xs:element name='GetStatusResponse'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='GrantedExpires' type='tns:MiniExpirationType' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- Unsubscribe request -->
  &lt;xs:element name='Unsubscribe'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- Unsubscribe response -->
  &lt;xs:element name='UnsubscribeResponse'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;!-- SubscriptionEnd message -->
  &lt;xs:element name='SubscriptionEnd'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='Status'
                    type='tns:OpenSubscriptionEndCodeType' />
        &lt;xs:element name='Reason' 
                    type='tns:LanguageSpecificStringType' 
                    minOccurs='0' maxOccurs='unbounded' />
        &lt;xs:any namespace='##other' processContents='lax' 
                minOccurs='0' maxOccurs='unbounded' />
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
 
  &lt;xs:simpleType name='SubscriptionEndCodeType'>
    &lt;xs:restriction base='xs:anyURI'>
      &lt;xs:enumeration value=
  'http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFailure' />
      &lt;xs:enumeration value=
  'http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceShuttingDown' />
      &lt;xs:enumeration value=
  'http://www.w3.org/&wsevt.nsprefix;/ws-evt/SourceCancelling' />
    &lt;/xs:restriction>
  &lt;/xs:simpleType>
 
  &lt;xs:simpleType name='OpenSubscriptionEndCodeType'>
    &lt;xs:union memberTypes='tns:SubscriptionEndCodeType xs:anyURI' />
  &lt;/xs:simpleType>

  &lt;!-- RetryAfter Fault Detail Element -->
  &lt;xs:element name='RetryAfter'  type='tns:RetryAfterType'/>
  &lt;xs:complexType name='RetryAfterType'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='xs:nonNegativeInteger'>
        &lt;xs:anyAttribute namespace='##other' processContents='lax' />
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>
 
  &lt;!-- Wrapped Events -->
  &lt;xs:complexType name='EventType' mixed='true'>
    &lt;xs:sequence>
      &lt;xs:any namespace='##any' processContents='lax' minOccurs='0'
              maxOccurs='unbounded'/>
    &lt;/xs:sequence>
    &lt;xs:attribute name='actionURI' type='xs:anyURI' use='optional' />
    &lt;xs:anyAttribute namespace='##other' processContents='lax' />
  &lt;/xs:complexType>

  &lt;xs:element name='Notify' type='tns:EventType' />

  &lt;!-- Policy -->
  &lt;xs:complexType name='Duration'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='tns:NonNegativeDurationType'>
       &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>

  &lt;xs:complexType name='URI'>
    &lt;xs:simpleContent>
      &lt;xs:extension base='xs:anyURI'>
        &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
      &lt;/xs:extension>
    &lt;/xs:simpleContent>
  &lt;/xs:complexType>

  &lt;xs:complexType name='Empty'>
    &lt;xs:sequence/>
    &lt;xs:anyAttribute namespace='##other' processContents='lax'/>
  &lt;/xs:complexType>

  &lt;xs:element name='EventSource'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='FilterDialect' minOccurs='0' maxOccurs='unbounded'>
          &lt;xs:complexType>
            &lt;xs:sequence>
              &lt;xs:any namespace='##other' processContents='lax' minOccurs='0'
                                          maxOccurs='0'/>
            &lt;/xs:sequence>
            &lt;xs:attribute name='URI' type='xs:anyURI' use='required' />
            &lt;xs:anyAttribute namespace="##other" processContents='lax'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:element name='FormatName' minOccurs='0' maxOccurs='unbounded'>
          &lt;xs:complexType>
            &lt;xs:sequence>
              &lt;xs:any namespace='##other' processContents='lax' minOccurs='0'
                                          maxOccurs='0'/>
            &lt;/xs:sequence>
            &lt;xs:attribute name='URI' type='xs:anyURI' use='required' />
            &lt;xs:anyAttribute namespace="##other" processContents='lax'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:element name='DateTimeSupported' type='tns:Empty' minOccurs='0'/>
        &lt;xs:element name='Expires' minOccurs='0'>
          &lt;xs:complexType>
            &lt;xs:attribute name='min' type='xs:duration' use='optional'/>
            &lt;xs:attribute name='max' type='xs:duration' use='optional'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:element name='EndToSupported' type='tns:Empty' minOccurs='0'/>
        &lt;xs:element name='NotificationPolicy' type='tns:NotificationPolicy'
                                              minOccurs='0'/>
        &lt;xs:any namespace='##other' processContents='lax' minOccurs='0'
                                    maxOccurs='unbounded'/>
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>

  &lt;xs:element name='SubscriptionManager'>
    &lt;xs:complexType>
      &lt;xs:sequence>
        &lt;xs:element name='DateTimeSupported' type='tns:Empty' minOccurs='0'/>
        &lt;xs:element name='Expires' minOccurs='0'>
          &lt;xs:complexType>
            &lt;xs:attribute name='min' type='xs:duration' use='optional'/>
            &lt;xs:attribute name='max' type='xs:duration' use='optional'/>
          &lt;/xs:complexType>
        &lt;/xs:element>
        &lt;xs:any namespace='##other' processContents='lax' minOccurs='0'
                                    maxOccurs='unbounded'/>
      &lt;/xs:sequence>
      &lt;xs:anyAttribute namespace='##other' processContents='lax' />
    &lt;/xs:complexType>
  &lt;/xs:element>
&lt;/xs:schema></eg>
   </example>
  </div1>

  <div1 id="WSDL">
   <head>WSDL</head>

   <p>
    A normative copy of the WSDL <bibref ref="WSDL11"/>
    description can be retrieved from the following address:
   </p>

   <example>
    <eg><loc href="http://www.w3.org/&wsevt.nsprefix;/ws-evt/eventing.wsdl">http://www.w3.org/&wsevt.nsprefix;/ws-evt/eventing.wsdl</loc></eg>
   </example>

   <p>
    A non-normative copy of the WSDL description is listed below
    for convenience.
   </p>

   <example>
    <eg>&lt;wsdl:definitions
  targetNamespace='http://www.w3.org/&wsevt.nsprefix;/ws-evt'
  xmlns:wsa='http://www.w3.org/2005/08/addressing'
  xmlns:wsam='http://www.w3.org/2007/05/addressing/metadata'
  xmlns:wse='http://www.w3.org/&wsevt.nsprefix;/ws-evt' 
  xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' 
  xmlns:xs='http://www.w3.org/2001/XMLSchema' &gt;

  &lt;wsdl:types&gt;
    &lt;xs:schema&gt;
       &lt;xs:import
         namespace='http://www.w3.org/&wsevt.nsprefix;/ws-evt'
         schemaLocation=
  'http://www.w3.org/&wsevt.nsprefix;/ws-evt/eventing.xsd' /&gt;
    &lt;/xs:schema&gt;
  &lt;/wsdl:types&gt;
  
  &lt;wsdl:message name='SubscribeMsg' &gt;
    &lt;wsdl:part name='body' element='wse:Subscribe' /&gt;
  &lt;/wsdl:message&gt;
  &lt;wsdl:message name='SubscribeResponseMsg' &gt;
    &lt;wsdl:part name='body' element='wse:SubscribeResponse' /&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:message name='RenewMsg' &gt;
    &lt;wsdl:part name='body' element='wse:Renew' /&gt;
  &lt;/wsdl:message&gt;
  &lt;wsdl:message name='RenewResponseMsg' &gt;
    &lt;wsdl:part name='body' element='wse:RenewResponse' /&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:message name='GetStatusMsg' &gt;
    &lt;wsdl:part name='body' element='wse:GetStatus' /&gt;
  &lt;/wsdl:message&gt;
  &lt;wsdl:message name='GetStatusResponseMsg' &gt;
    &lt;wsdl:part name='body' element='wse:GetStatusResponse' /&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:message name='UnsubscribeMsg' &gt;
    &lt;wsdl:part name='body' element='wse:Unsubscribe' /&gt;
  &lt;/wsdl:message&gt;
  &lt;wsdl:message name='UnsubscribeResponseMsg' &gt;
    &lt;wsdl:part name='body' element='wse:UnsubscribeResponse' /&gt;
  &lt;/wsdl:message&gt;
 
  &lt;wsdl:message name='SubscriptionEnd' &gt;
    &lt;wsdl:part name='body' element='wse:SubscriptionEnd' /&gt;
  &lt;/wsdl:message&gt;

  &lt;wsdl:message name='notifyEvent'&gt;
    &lt;wsdl:part name='parameter' element='wse:Notify'/&gt;
  &lt;/wsdl:message&gt;
  
  &lt;wsdl:portType name='EventSource' &gt;
    &lt;wsdl:operation name='SubscribeOp' &gt;
      &lt;wsdl:input 
        message='wse:SubscribeMsg'
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/Subscribe'/&gt;
      &lt;wsdl:output 
        message='wse:SubscribeResponseMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscribeResponse'/&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:portType&gt;
  
  &lt;wsdl:portType name='SubscriptionEndPortType' &gt;
    &lt;wsdl:operation name='SubscriptionEnd' &gt;
      &lt;wsdl:input 
        message='wse:SubscriptionEnd' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/SubscriptionEnd'/&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:portType&gt;
  
  &lt;wsdl:portType name='SubscriptionManager' &gt;
    &lt;wsdl:operation name='RenewOp' &gt;
      &lt;wsdl:input 
        message='wse:RenewMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/Renew'/&gt;
      &lt;wsdl:output 
        message='wse:RenewResponseMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/RenewResponse'/&gt;
    &lt;/wsdl:operation&gt;
    &lt;wsdl:operation name='GetStatusOp' &gt;
      &lt;wsdl:input 
        message='wse:GetStatusMsg'
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatus'/&gt;
      &lt;wsdl:output 
        message='wse:GetStatusResponseMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/GetStatusResponse'/&gt;
    &lt;/wsdl:operation&gt;
    &lt;wsdl:operation name='UnsubscribeOp' &gt;
      &lt;wsdl:input 
        message='wse:UnsubscribeMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/Unsubscribe'/&gt;
      &lt;wsdl:output 
        message='wse:UnsubscribeResponseMsg' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/UnsubscribeResponse'/&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:portType&gt;

  &lt;wsdl:portType name='WrappedSinkPortType'&gt;
    &lt;wsdl:operation name='NotifyEvent'&gt;
      &lt;wsdl:input message='wse:notifyEvent'
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/WrappedSinkPortType/NotifyEvent'/&gt;
    &lt;/wsdl:operation&gt;
  &lt;/wsdl:portType&gt;
&lt;/wsdl:definitions&gt;</eg>
   </example>
  </div1>

  <div1 id="wrappedWSDL">
   <head>WSDL for Standard Wrapped Delivery</head>

   <p>
    If an event subscriber specifies the wrapped event delivery format
    http://www.w3.org/&wsevt.nsprefix;/ws-evt/DeliveryFormats/Wrap
    in the Subscribe request message, then the event sink MUST implement 
    the following abstract WSDL and notification messages MUST be
    wrapped in the element defined in the WSDL. 
   </p>

   <example>
    <eg>&lt;definitions 
  xmlns='http://schemas.xmlsoap.org/wsdl/' 
  xmlns:xs='http://www.w3.org/2001/XMLSchema' 
  xmlns:wsam='http://www.w3.org/2007/05/addressing/metadata'
  xmlns:wsa='http://www.w3.org/2005/08/addressing/'
  xmlns:tns='http://www.w3.org/&wsevt.nsprefix;/ws-evt' 
  targetNamespace='http://www.w3.org/&wsevt.nsprefix;/ws-evt'&gt;
  
  &lt;types&gt;
    &lt;xs:schema 
        targetNamespace='http://www.w3.org/&wsevt.nsprefix;/ws-evt'&gt;

      &lt;xs:complexType name='EventType' mixed='true'&gt; 
        &lt;xs:sequence&gt; 
          &lt;xs:any namespace='##any' processContents='lax' minOccurs='0'
                  maxOccurs='unbounded'/&gt; 
        &lt;/xs:sequence&gt; 
        &lt;xs:attribute name='actionURI' type='xs:anyURI' use='optional' /&gt; 
        &lt;xs:anyAttribute namespace='##other' processContents='lax' /&gt; 
      &lt;/xs:complexType&gt; 

      &lt;xs:element name='Notify' type='tns:EventType' /&gt;
    &lt;/xs:schema&gt;
  &lt;/types&gt;
  
  &lt;message name='notifyEvent'&gt;
    &lt;part name='parameter' element='tns:Notify'/&gt;
  &lt;/message&gt;
  
  &lt;portType name='WrappedSinkPortType'&gt;
    &lt;operation name='NotifyEvent'&gt;
      &lt;input message='tns:notifyEvent' 
        wsam:Action='http://www.w3.org/&wsevt.nsprefix;/ws-evt/WrappedSinkPortType/NotifyEvent'/&gt;
    &lt;/operation&gt;
  &lt;/portType&gt;
&lt;/definitions&gt;</eg>
   </example>

  </div1>

  <div1 id="actiontables">
   <head>Action Tables</head>

   <p>
    The purpose of the action tables is to illustrate, via a separate means 
    from the normative text, the allowable order and interactions of various 
    messages and activities. The action tables are not intended to constrain 
    implementations beyond those necessary to insure this ordering.
   </p>

   <ulist>
    <item>
     <p>
      Actions are represented as columns.
     </p>
    </item>

    <item>
     <p>
      Triggers (messages, application actions, timer events) are represented 
      as rows. Triggers are annotated by their type; 
      "[app]" - represents an application action (e.g. a user selecting a 
      "Subscribe" menu item); 
      "[msg]" - represents an incoming, WS-Eventing defined, message; 
      "[timer]" - represents an internal timer event. 
     </p>
    </item>

    <item>
     <p>
      Each cell describes the appropriate action for a given state and 
      trigger. 
      Where the 
      action is dependent upon other factors than the state 
      and trigger (e.g. the value of a fault message), the activity is 
      described in pseudo-code. The section of the specification that 
      describes these activities is displayed in curly 
      brackets (e.g. "{4.2}").
     </p>
    </item>

    <item>
     <p>
      Empty box indicates that the spec is silent for the specified 
      trigger/action pair.
     </p>
    </item>
   </ulist>

   <table border="1">
    <caption>Event Source Action Table</caption>
    <tbody>
     <tr>
      <td rowspan='1' valign='bottom'> <kw>Trigger</kw> </td>
      <td colspan='3' align='center'> <kw>Action</kw> </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Subscribe Request <phrase/> 
       [msg] </code>
      </td>
      <td valign="top"><code>
       Create subscription<phrase/>
       Send SubscribeResponse + 
         Subscription Manager EPR<phrase/>
       {<specref ref="Subscribe" show="num"/>}</code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Event<phrase/> 
       [app] </code>
      </td>
      <td valign="top"><code>
       Send notification to all pertinent subscriptions<phrase/>
       {<specref ref="Notifications" show="num"/>}</code>
      </td>
     </tr>
    </tbody>
   </table>

   <p/>

   <table border="1">
    <caption>Subscription Manager Action Table</caption>
    <tbody>
     <tr>
      <td rowspan='2' valign='bottom'> <kw>Trigger</kw> </td>
      <td colspan='2' align='center'> <kw>Action</kw> </td>
     </tr>
     <tr>
      <td> <kw>Trigger refers to a valid subscription</kw> </td>
      <td> <kw>Trigger refers to an invalid subscription</kw> </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Renew Request<phrase/> 
       [msg] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Update expiration timer<phrase/>
       Send RenewResponse<phrase/>
       {<specref ref="Renew" show="num"/>}</code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Generate UnknownSubscription Fault<phrase/>
       {<specref ref="Renew" show="num"/>}</code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       GetStatus Request<phrase/> 
       [msg] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Send GetStatusResponse<phrase/>
       {<specref ref="GetStatus" show="num"/>}</code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Generate UnknownSubscription Fault<phrase/>
       {<specref ref="GetStatus" show="num"/>}</code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Unsubscribe Request<phrase/> 
       [msg] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Invalidate Subscription<phrase/>
       Send UnsubscribeResponse<phrase/>
       {<specref ref="Unsubscribe" show="num"/>}</code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Generate UnknownSubscription Fault<phrase/>
       {<specref ref="Unsubscribe" show="num"/>}</code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Expiration<phrase/> 
       [timer] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       If (EndTo engaged)<phrase/>
         &nbsp;&nbsp;Send SubscriptionEnd<phrase/>
       Invalidate subscription<phrase/>
       {<specref ref="Subscribe" show="num"/>}</code>
      </td>
      <td valign="top" nowrap='nowrap'><code></code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Shutdown/Error<phrase/> 
       [app] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       If (EndTo engaged)<phrase/>
         &nbsp;&nbsp;Send SubscriptionEnd<phrase/>
       Invalidate subscription<phrase/>
       {<specref ref="Subscribe" show="num"/>}</code>
      </td>
      <td valign="top" nowrap='nowrap'><code></code>
      </td>
     </tr>
    </tbody>
   </table>

   <p/>

   <table border="1">
    <caption>Event Sink Action Table</caption>
    <tbody>
     <tr>
      <td rowspan='1' valign='bottom'> <kw>Trigger</kw> </td>
      <td colspan='1' align='center'> <kw>Action</kw> </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       Expiration<phrase/> 
       [timer] </code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Invalidate subscription<phrase/>
       {<specref ref="Subscribe" show="num"/>}</code>
      </td>
     </tr>
     <tr>
      <td valign="top" nowrap='nowrap'><code>
       SubscriptionEnd<phrase/> 
       [msg]</code>
      </td>
      <td valign="top" nowrap='nowrap'><code>
       Invalidate subscription<phrase/>
       {<specref ref="SubscriptionEnd" show="num"/>}</code>
      </td>
     </tr>
    </tbody>
   </table>

  </div1>


  <div1 id="changelog">
   <head>Change Log</head>

   <table border="1">
    <tbody>
     <tr>
      <th> Data </th>
      <th> Author </th>
      <th> Description </th>
     </tr>
     <tr>
      <td> 2009/03/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6391">6391</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6519">6519</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6427">6427</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6459">6459</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6397">6397</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6426">6426</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/11 </td>
      <td> DD </td>
      <td> Added change log </td>
     </tr>
     <tr>
      <td> 2009/03/11 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6641">6641</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/11 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6498">6498</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/11 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6425">6425</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/16 </td>
      <td> KW </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6587">6587</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/17 </td>
      <td> KW </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6400">6400</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6428">6428</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6687">6687</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/23 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6666">6666</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/23 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6681">6681</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/24 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6595">6595</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/03/24 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6648">6648</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/07 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6727">6727</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/07 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6725">6725</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/07 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6715">6715</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/22 </td>
      <td> KW </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6739">6739</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/28 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6787">6787</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/04/28 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6788">6788</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/13 </td>
      <td> KW </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6472">6472</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/13 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6850">6850</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/13 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6696">6696</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/19 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6907">6907</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/19 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6429">6429</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/21 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6674">6674</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/05/27 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6906">6906</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/06/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6955">6955</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/06/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6916">6916</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/06/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6986">6986</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/07/07 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7039">7039</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/07/21 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6980">6980</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/07/28 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6692">6692</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/04 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7136">7136</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6432">6432</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7159">7159</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7205">7205</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/18 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7206">7206</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/25 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7365">7365</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/25 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7270">7270</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/25 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7235">7235</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/08/26 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7160">7160</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/01 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6700">6700</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/02 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6694">6694</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/02 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6401">6401</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/02 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6533">6533</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/22 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7698">7698</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/09/23 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6569">6569</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/01 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7589">7589</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/02 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7426">7426</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/02 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7554">7554</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/05 </td>
      <td> DD </td>
      <td> Added resolution of issues
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6402">6402</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6721">6721</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7478">7478</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/13 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7827">7827</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/20 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7982">7982</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/20 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7068">7068</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/20 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7553">7553</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/20 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7207">7207</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/10/27 </td>
      <td> DD </td>
      <td> Added resolution of issues
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7586">7586</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7588">7588</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7828">7828</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8076">8076</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7912">7912</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8172">8172</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8168">8168</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7970">7970</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8213">8213</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8170">8170</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8162">8162</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8163">8163</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8166">8166</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8167">8167</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8169">8169</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/06 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8124">8124</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8280">8280</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8276">8276</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8277">8277</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/11/17 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8285">8285</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/12/01 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8201">8201</loc>
      </td>
     </tr>
     <tr>
      <td> 2009/12/08 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8287">8287</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8165">8165</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/12 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8164">8164</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/12 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8281">8281</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/12 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8176">8176</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/19 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8068">8068</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/19 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8286">8286</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/19 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8283">8283</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/26 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8288">8288</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/26 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8275">8275</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/27 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=7986">7986</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/01/28 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8196">8196</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/02/05 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6435">6435</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/02/08 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8901">8901</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/02/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8160">8160</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/02/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8271">8271</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/09 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=6463">6463</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8031">8031</loc>,
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8198">8198</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/16 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8886">8886</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/30 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9320">9320</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/30 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9031">9031</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/03/30 </td>
      <td> DD </td>
      <td> Added resolution of issue 
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9266">9266</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/04/20 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9321">9321</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/04/20 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9543">9543</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/04/27 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8832">8832</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/04 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9588">9588</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/11 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9567">9567</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/11 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9613">9613</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/11 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9699">9699</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/11 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9676">9676</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9712">9712</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9713">9713</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9675">9675</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9717">9717</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/12 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9701">9701</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/13 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9702">9702</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/05/13 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9610">9610</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/06/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=9610">9610</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/08/17 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10339">10339</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/08/18 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10376">10376</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/08/18 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=10960">10960</loc>
      </td>
     </tr>
     <tr>
      <td> 2010/08/19 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=8284">8284</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/01/04 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11667">11667</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/01/04 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11551">11551</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/01/26 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11874">11874</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/01 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11882">11882</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/01 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11703">11703</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/07 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11899">11899</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=12051">12051</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11698">11698</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11894">11894</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=12063">12063</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/02/15 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=11949">11949</loc>
      </td>
     </tr>
     <tr>
      <td> 2011/04/24 </td>
      <td> DD </td>
      <td> Added resolution of issue
       <loc href="http://www.w3.org/Bugs/Public/show_bug.cgi?id=12722">12722</loc>
      </td>
     </tr>
    </tbody>
   </table>
  </div1>

 </back>
</spec>

