[ 
https://issues.apache.org/jira/browse/AXIS-2615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen updated AXIS-2615:
----------------------------------

    Affects Version/s:     (was: current (nightly))
                       1.4
        Fix Version/s:     (was: current (nightly))
    
> org.apache.axis.client.HandlerRegistryImpl.getHandlerChain(QName portName) 
> create an ArrayList if the HandlerChain doesn't exists instead of an 
> HandlerChainImpl
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS-2615
>                 URL: https://issues.apache.org/jira/browse/AXIS-2615
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.4
>         Environment: Windows XP, Tomcat 6.0
>            Reporter: Fabien Carrion
>            Priority: Trivial
>
> When somebody use the interface javax.xml.rpc.handler.HandlerRegistry to get 
> the HandlerChain for a given Service. If there is no HandlerChain which 
> already exists, the implementation create an ArrayList, and it should create 
> an HandlerChainImpl.
> Code : axis-1_4/src/org/apache/axis/client/Service.java
> Line : 869
> Actual Code :
>         public List getHandlerChain(QName portName) {
>             // namespace is not significant, so use local part directly
>             String key = portName.getLocalPart();
>             List list = (List) map.get(key);
>             if (list == null) {
>                 list = new java.util.ArrayList();
>                 setHandlerChain(portName, list);
>             }
>             return list;
>         }
> Should be :
>         public List getHandlerChain(QName portName) {
>             // namespace is not significant, so use local part directly
>             String key = portName.getLocalPart();
>             List list = (List) map.get(key);
>             if (list == null) {
>                 HandlerInfoChainFactory Factory = new 
> HandlerInfoChainFactory();
>                 list = Factory.createHandlerChain();
>                 setHandlerChain(portName, list);
>             }
>             return list;
>         }
> Cheers'
> Fabien Carrion

--
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]

Reply via email to