Re: Issue 1008 - Fault Handling

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 UTC