Sagara Gunathunga created AXIS2-5327:
-----------------------------------------
Summary: Remove unused org.apache.axis2.jsr181 package and some
dead codes.
Key: AXIS2-5327
URL: https://issues.apache.org/jira/browse/AXIS2-5327
Project: Axis2
Issue Type: Improvement
Components: kernel
Affects Versions: 1.6.2
Reporter: Sagara Gunathunga
Assignee: Sagara Gunathunga
Priority: Minor
Fix For: 1.7.0
org.apache.axis2.jsr181 package contains some wrapper classes for WS
annotations and used in earlier days when Axis2 only support for JSR 181. AFAIK
for the moment there is no real use of this package and Axis2 JAX-WS does not
use any of them.
In codes above package used in following classes but those codes more or less
dead now.
1.) POJODeployer - Axis2 no longer support to deploy .classes as JAX-WS
services, BTW POJO deployment is not support for many features provided by
Axis2 too. I think it's impossible to fully support JAX-WS through
POJODeployer. It seems OK to remove use of org.apache.axis2.jsr181 package
from POJODeployer.
In case some one really want to support JAX-WS through POJODeployer, it is
possible to use JAXWSServiceBuilderExtension class.
2.) Current JAX-WS implementation use JAXWSRIWSDLGenerator to generate runtime
WSDL files hence above package can be safely removed from following two
classes.
* DefaultSchemaGenerator
* DocLitBareSchemaGenerator.
3.) Other than above, org.apache.axis2.jsr181 used in following two classes but
AFAIK those code never hit by non of the current deployment approaches.
* AxisService
* org.apache.axis2.deployment.util.Utils
4.) There is a full functional JAX-WS modules available now and it seems
org.apache.axis2.jsr181 package exists only due to historical reasons and IMHO
we don't need to maintain these unused codes further.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.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]