W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2001

RE: XMLP WG Issue 12

From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Date: Fri, 1 Jun 2001 07:52:06 -0700
Message-ID: <79107D208BA38C45A4E45F62673A434D0297CCD1@red-msg-07.redmond.corp.microsoft.com>
To: "Mark Nottingham" <mnot@mnot.net>, "christopher ferris" <chris.ferris@east.sun.com>
Cc: "Hugo Haas" <hugo@w3.org>, <xml-dist-app@w3.org>

>On the other side, does a SOAP client have a guarantee that a 
>message with a 500 status code is equivalent to a SOAP Fault? 
>If not, SOAP clients will need to parse the response for the 
>actual fault no matter what they do. It seems that using 500 
>is another instance of a 'hint' in the protocol binding that 
>is searching for a purpose; what concrete use cases are there 
>for the hint?

No, the HTTP processing model is not a hint - it is a mechanism for
figuring out in an automatable manner what happened to a specific HTTP
request with a specific set of HTTP semantics so that caches and other
downstream clients can figure out what to do.

HTTP clients may look around in the message to find information related
to the status code. Typical examples are a Location header field etc.
However, in the case of SOAP, the information is carried in a SOAP
envelope which HTTP doesn't know anything about.

I would note that SOAP is not just a form submission - it is in fact its
own protocol with fault semantics etc. so I don't think the analogy to
form submission is good.

Henrik
Received on Friday, 1 June 2001 11:34:18 GMT

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