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 

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 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:30 UTC