You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2012/05/23 16:04:40 UTC

[jira] [Created] (AXIS2-5327) Remove unused org.apache.axis2.jsr181 package and some dead codes.

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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] [Resolved] (AXIS2-5327) Remove unused org.apache.axis2.jsr181 package and some dead codes.

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5327.
---------------------------------------

    Resolution: Fixed

Fixed in r1342152. 
                
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org