W3C home > Mailing lists > Public > www-xkms@w3.org > May 2005

Re: HTTP fault codes

From: Tommy Lindberg <tommy.lindberg@gmail.com>
Date: Mon, 9 May 2005 22:14:29 +0100
Message-ID: <18ec59cc0505091414355ca02b@mail.gmail.com>
To: Frederic DELEON <frederic.deleon@crf.canon.fr>
Cc: www-xkms@w3.org

Hi Frederic -

The beauty of the result messages is that their type hierarchy
includes a general <Result> element that can returned in response to
any request.  I use this in situations that you describe below, i.e.
if something goes terribly wrong and provided I catch all exceptions,
I can still return a valid XKMS result message; I could even sign it.

Regards,
Tommy

On 5/9/05, Frederic DELEON <frederic.deleon@crf.canon.fr> wrote:
> 
> Hello,
> 
> In bindings specification, SOAP faults are described inside SOAP binding
> chapter.
> On the other hand, nothing is defined for HTTP binding, and for instance
> nothing is defined for HTTP faults. Are we free to implement this as we
> like ? Is it possible to return free XML error message inside HTTP
> response or do we have to return HTTP error such as 500 error code ?
> 
> Frederic
> 
> 
> -- Frederic Deleon
> -- Canon
> 
>
Received on Monday, 9 May 2005 21:14:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:39:24 GMT