[ http://issues.apache.org/jira/browse/AXIS2-1266?page=all ]
Davanum Srinivas resolved AXIS2-1266. ------------------------------------- Resolution: Fixed Fixed in r452738 thanks, dims > Wsdl2Java should generate wsdl faults as separate class files > ------------------------------------------------------------- > > Key: AXIS2-1266 > URL: http://issues.apache.org/jira/browse/AXIS2-1266 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Improvement > Reporter: William Ferguson > > Wsdl2Java takes wsdl faults and generates the Exceptions for those faults as > static inner classes of the geenrated stub and skeleton. > MO it would be better for the Exceptions generated from the WDL for both stub > and skel to be unbundled from the stub/skel class (ie not generated as static > inner classes) but created in their own source file. Especially if the "-u" > option is supplied to Wsdl2Java. > Bundling them up within the stub/skel just obfuscates the Exception pathway. > And in the case of the stub requires clients to include the stub even if they > are coding against the stub interface, just to manage the Exception handling. > It also makes it impossible to reuse an Exception between 2 services. > This requirement came out of http://issues.apache.org/jira/browse/AXIS2-957 > (among others). > Dims, this looks pretty simple. Any chance it will make Axis2-1.1 release? -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]