W3C home > Mailing lists > Public > public-ws-chor@w3.org > March 2005

Re: Issue 1008 - Fault Handling

From: Charlton Barreto <charlton_b@mac.com>
Date: Tue, 15 Mar 2005 11:49:46 -0800
Message-Id: <52a466397812f22d7cd891fd06ac562c@mac.com>
To: public-ws-chor@w3.org

In general, Java Web Services provide two approaches to handling faults 
- deserializing them as Exceptions or processing the message directly 
in a handler. If an operation throws multiple faults with the same 
message type as in WSDL 1.1, where these faults are differentiated 
solely by name, only the latter approach provides any mechanism to 
distinguishing them. Once the fault is deserialized into an Exception 
there is no way to differentiate between faults having the same message 
type.

Generally the lower level language bindings prohibit this situation, 
recognizing it as a degenerate scenario. As such, unless someone can 
come up with a good use case for this, I would propose that CDL should 
strongly recommend against it, rather than provide facilities to 
support it.
  
Received on Tuesday, 15 March 2005 20:02:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 01:01:28 GMT