Re: Issue #12 proposed resolution

On Fri, Sep 28, 2001 at 10:11:33AM -0400, christopher ferris wrote:
> 
> 6.3.2 HTTP 4xx Client Error
> 
>       In general, a SOAP HTTP client SHOULD be prepared to handle
> 	any of the 4xx class of HTTP status codes. However, the
> 	following status codes have specific meaning within the
> 	context of this SOAP binding to HTTP.
>                 - A 400 Bad Request status SHALL be returned in the
>                   event that the
> 		    SOAP message contained within the body of an HTTP
>                   request message is not well formed XML or in the
>                   case where a
> 		    SOAP envelope was expected in the body of the
> 		    HTTP POST request and none was
>                   present.  
>                 - A 405 Method Not Allowed status MAY be returned
>                   in the event that the
> 		    method specified in the HTTP request is not POST.
> 		    As specified in RFC2616, the HTTP response MUST
> 		    include an Accept header that includes at least
> 		    POST.
>                 - A 415 Unsupported Media Type status code SHALL be
> 		    returned in the event that the encapsulation
> 		    mechanism used for the SOAP message in the HTTP
> 		    request is unsupported by the server.
> 

The 5xx description specifies that an envelope should be included in
the body, whereas there is no such language here. Should we say
anything about the body content of these status codes?


-- 
Mark Nottingham
http://www.mnot.net/
 

Received on Wednesday, 3 October 2001 15:46:50 UTC