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

[EMAIL PROTECTED] changed:

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



------- Additional Comments From [EMAIL PROTECTED]  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;
   }

Reply via email to