Eric BOYER wrote:
Server :
   public void testVector(Vector vec) {
       System.out.println("testVector(vec)");
       System.out.println("vec : "+vec);
   }

   public String testVector() {
       System.out.println("testVector()");
       return "OK";
   }
---------------


testVector() is always executed and I don't know why ...

In XMLRPC 3, at least, method overloading is not supported. You will need to name the methods differently. This was a deliberate decision to drop support (and one I strongly disagree with). If you want to experiment with my patches at XMLRPC-75 in the issue tracker, they add overloading support back.

I'm working on another project right now, but sooner or later I'll be back on the project in which I'm using XMLRPC. I plan to submit additional patches adding support for overloading, if I can figure out a way to do so that is both architecturally sound and acceptable to the library maintainer, who has this odd belief that method overloading is "too complicated" to support by default or something.

--
Walter Mundt
[EMAIL PROTECTED]
begin:vcard
fn:Walter Mundt
n:Mundt;Walter
org:Cole Engineering Services Inc.
adr:3361 Rouse Road;;St 230;Winter Park;FL;32792;USA
email;internet:[EMAIL PROTECTED]
title:Engineering Specialist
tel;work:407-384-9956
tel;fax:407-281-7011
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to