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

RPC procedure error issue

From: Jean-Jacques Moreau <moreau@crf.canon.fr>
Date: Mon, 27 Aug 2001 10:06:31 +0200
Message-ID: <3B89FF86.BCD05AD4@crf.canon.fr>
To: "xml-dist-app@w3.org" <xml-dist-app@w3.org>
During last week's teleconference, I was asked to post the following
issue, with respect to the current RPC faults proposal.

The proposal includes the following sentence: "Procedure level errors,
ie those that might normally be expected when executing a procedure,
SHOULD be indicated in a successful RPC response containing some
application-dependent indication of a failure."

My reading of this proposal is that if we go that way, we will
assimilate procedure errors, ie service execution errors, to a
successful execution of the procedure (at least at first glance),
which I think is wrong. There is a strong difference in semantics
between a successful execution and a failed execution, and I think we
should make that difference explicit and unambiguous. Clearly, this is
what the Java (or C#) programmer would do, raising an exception.

I propose that we report "procedure level errors" as an explicit
"rpc:ProcedureFailed" fault.

Received on Monday, 27 August 2001 04:06:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:15 UTC