[
https://issues.apache.org/jira/browse/AXIS2-5182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sagara Gunathunga resolved AXIS2-5182.
---------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
1.6.2
1.5.7
Fixed in AXIS2-5182.
> org.apache.axis2.transport.http.SimpleHTTPServer seems to cast String to QName
> ------------------------------------------------------------------------------
>
> Key: AXIS2-5182
> URL: https://issues.apache.org/jira/browse/AXIS2-5182
> Project: Axis2
> Issue Type: Bug
> Components: transports
> Affects Versions: 1.6.1
> Reporter: Alexander Veit
> Assignee: Sagara Gunathunga
> Fix For: 1.5.7, 1.6.2, 1.7.0
>
>
> SimpleHTTPServer, line 176
> if (startAllTransports) {
> Iterator iter = configctx.getAxisConfiguration().
> getTransportsIn().keySet().iterator();
> while (iter.hasNext()) {
> QName trp = (QName) iter.next(); // String -> QName
> if (!new QName(Constants.TRANSPORT_HTTP).equals(trp)) {
> trsIn = (TransportInDescription)
> configctx.getAxisConfiguration().getTransportsIn().get(trp);
> listenerManager.addListener(trsIn, false);
> }
> }
> }
> Axis2 should probably enforce the use of generics throughout the project to
> avoid such problems.
--
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]