I think it makes sense to define a common superinterface for SOAPFaultCode and SOAPFaultSubCode. Since this is an improvement to Axiom, can you open a separate JIRA issue in the WSCOMMONS project? Please make sure to contribute the patch under the Apache license, i.e. remove the Software AG disclaimer. I was also thinking about a better name for the common superinterface. Maybe SOAPFaultClassifier?
Andreas On Tue, Feb 3, 2009 at 12:34, Dobri Kitipov <[email protected]> wrote: > Hi everybody, > recently I have done some research on how SOAP Faults are generated. I meet > the following issue you can find here: > https://issues.apache.org/jira/browse/AXIS2-4216 > It is about the creation of the SOAP Fault. If you look at this it will > become obvious that SOAPFaultCode and SOAPFaultSubCode implementation can be > refactored. My proposal is that both they can extend a common interface and > thus make them more natural and reusable. No need of casting anymore. > > The fixes are applied to the current mail. > > Looking forward for your comments on this. > > thank you in advance, > Dobri
