<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6696</bug_id>
          
          <creation_ts>2009-03-13 12:39:11 +0000</creation_ts>
          <short_desc>Eventing: When to check the EPRs</short_desc>
          <delta_ts>2009-06-24 00:04:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>Eventing</component>
          <version>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>hasProposal</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Doug Davis">dug</reporter>
          <assigned_to name="Doug Davis">dug</assigned_to>
          
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24228</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-03-13 12:39:11 +0000</bug_when>
    <thetext>WS-Eventing defines the NotifyTo and EndTo EPRs but its not clear 
when these EPRs are checked for validity. For example, do they contain
valid URIs (not just syntactically but does the event source support
the transport), does the event source support any policy assertions
specified within the EPR, stuff like this.

Clearly some of problems that could exist with an EPR might not be
detectable until the sender tries to use the EPR (e.g. a 404) but there
are some things that could be checked at a superficial level during
the processing of the Subscribe - for example, checking to make sure
the wsa:Address IRI specifies a transport that the event source can
support. 

Proposal:
Add the following to the WS-Eventing spec at the end of the Subscribe request
defn/text:

- - - - - - - - -
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 an problem is detected then the event source MUST generate
a wse:InvalidEPR fault rather than returning the SubscribeResponse message.
- - - - - - - - -

and then define a wse:InvalidEPR fault - make the details element
say which EPR(s) was bad and why.  We can&apos;t use the wsa:InvalidEPR fault 
because that appears to only be for headers - no idea why  ;-)

If we accept this proposal then we should apply the same type of
change to WS-Enumeration (wsen:EndTo) as well - for consistency.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25123</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-05-13 07:55:42 +0000</bug_when>
    <thetext>Resolution:
Add the following to the WS-Eventing spec at the end of the Subscribe request
defn/text:

- - - - - - - - -
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 MAY generate
a wse:UnusableEPR fault rather than returning the SubscribeResponse message.
- - - - - - - - -

and then define a wse:UnusableEPR fault - make the details element
say which EPR(s) was bad and why.  We can&apos;t use the wsa:InvalidEPR fault 
because that appears to only be for headers - no idea why  ;-)

If we accept this proposal then we should apply the same type of
change to WS-Enumeration (wsen:EndTo) as well - for consistency.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25136</commentid>
    <comment_count>2</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-05-13 13:28:31 +0000</bug_when>
    <thetext>Resolved with proposal + these changes:

change s/and an problem is detected/and a problem is detected/
also change MUST/MAY
and s/InvalidEPR/UnusableEPR

and do it in Enum too.

5/12/09 meeting</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>