ISSUE-31: soapjms:isFault typing is ambiguous and its value is weakened because it is an optional property

ISSUE-31: soapjms:isFault typing is ambiguous and its value is weakened because it is an optional property

http://www.w3.org/2002/ws/soapjms/tracker/issues/31

Raised by: Mark Phillips
On product: 

There is a disparity between the text in 2.2.3 which talks about the value of soapjms:isFault being 0 or 1, and the example in 2.2.3.1 which shows it being set as a Boolean property.  

Furthermore, presumably the main value of "isFault" is that it allows faults to be detected quickly without needing to parse the SOAP payload.  However, because the property is optional, an implementation cannot rely on the property to detect faults (or non-fault responses).  I suggest we make this mandatory - at least for faults.   Should be added to the table in 2.6.2.3 (responding node)

Proposal: 
In section 2.2.3, change: 
[Definition: soapjms:isFault] (xsd:boolean) 
        *          This property indicates whether a SOAP/JMS message is a fault. For senders, this property should be set to true when responding with a SOAP fault. When this property is true, the sending software SHOULD  include a JMS property named SOAPJMS_isFault with a value of 1.
        *          For receivers, this property is derived from the JMS property named SOAPJMS_isFault — if present and containing a value of 1, the value of soapjms:isFault is true. If omitted, or present with a value of 0, the value of soapjms:isFault is false.

to:

        *          This property indicates whether a SOAP/JMS message is a fault. For senders, this property is set to true when responding with a SOAP fault. When this property is true, the sending software MUST include a JMS property named SOAPJMS_isFault with a value of true.
        *          For receivers, this property is derived from the JMS property named SOAPJMS_isFault — if present and containing a value of true, the value of soapjms:isFault is true. If omitted, or present with a value of false, the value of soapjms:isFault is false.

...this change would introduce a new assertion in the first bullet, which would require a test case.  


In section 2.6.2.3, add a new row to the JMS Message properties section of the table 

SOAPJMS_isFault   -   Set to true if the response is a SOAP fault

Received on Tuesday, 2 March 2010 14:07:18 UTC