W3C home > Mailing lists > Public > xml-dist-app@w3.org > March 2006

RE: 202 in current implementation

From: <noah_mendelsohn@us.ibm.com>
Date: Fri, 31 Mar 2006 18:14:17 -0500
To: Yves Lafon <ylafon@w3.org>
Cc: David Orchard <dorchard@bea.com>, Glen Daniels <gdaniels@sonicsoftware.com>, xml-dist-app@w3.org
Message-ID: <OFFF728E88.BFA52030-ON85257142.007F11B4-85257142.007FA713@lotus.com>

Yves Lafon suggests:

> "If a mU fault has to be sent as part of the initial processing of the 
> request, it should be sent back to the originator instead of 
> using a HTTP 
> 202 return code."

>From the definition for 202 [1] 

"The request has been accepted for processing, but the processing has not 
been completed.  The request might or might not eventually be acted upon, 
as it might be disallowed when processing actually takes place."

So, I think we want to be careful not to commit the processor to having 
done mU checking before sending a 202.  I think we might therefore say:

"In conformance with the HTTP specification, a 202 response allows for the 
possibilities that any or all of the SOAP processing, or else no SOAP 
processing, might have been done at the time the response is sent.  If 
SOAP processing has been done, and if such processing has resulted in a 
fault (including mustUnderstand faults), that fault SHOULD be returned 
with a status code of 200, not 202.  If SOAP processing is deferred until 
after a 202 response has been sent, then the disposition of any resulting 
SOAP faults is beyond the scope of this specification. "

Maybe the wording could be tightened, but I think this makes clearer that 
a 202 does not commit the receiver to having done any processing.  If WSDL 
or WSA bindings to SOAP wish to mandate that mU checking be done before 
deciding on the status code, then those specs may so specify.   I don't 
think SOAP should preclude any options allowed by HTTP.

Noah

[1] http://www.faqs.org/rfcs/rfc2616.html

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------
Received on Friday, 31 March 2006 23:14:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:21 GMT