axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16519] - RPCElement doesn't always find correct overloaded method
Date Thu, 27 Feb 2003 21:13:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16519>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16519

RPCElement doesn't always find correct overloaded method

jasnell@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From jasnell@us.ibm.com  2003-02-27 21:13 -------
Ok, this appears to be fixed.  I made the following additional checks ...

1. If we get an array when we're not expecting it, 
   no match unless we're expecting a generic Object

   if (!sigType.isArray() && value.getClass().isArray() &&
    !sigType.equals(Object.class)) {
        match = false;  
   }

2. If we're expecting an array and don't get one and we're not using a LITERAL 
style, no match.  If we're using LITERAL, fall through and see if we get an 
appropriate match later.

   if (operation.getUse() == Use.ENCODED &&
       sigType.isArray() &&
       !value.getClass().isArray()) {
         match = false;
   }

Mime
View raw message