On 10/5/06, COHEN, STEVEN M (SBCSI) <[EMAIL PROTECTED]> wrote:
Actually, that is VERY tricky because on this page http://ws.apache.org/xmlrpc/types.html It says that an XML-RPC array type maps to an Object[] or java.util.List. Very odd. Indeed I found that sometimes it was an Object[] and sometimes a List and I had to write a method to handle that. Why would it not be consistent, I wonder?
On the server, it simply depends on your choice. If your method signature contains an Object[], then you receive an Object[]. If your signature contains a List, then you receive a List. Even better, if your signature contains a Vector ... then you receive a Vector. The only place where the logic breaks is the clients return value: The XML-RPC library doesn't know what type of return value you expect. In other words, you should always receive an Object[] there. As for the migration guide: How about writing one, now that you're through it? This is open source reality as well. :-) Jochen -- My wife Mary and I have been married for forty-seven years and not once have we had an argument serious enough to consider divorce; murder, yes, but divorce, never. (Jack Benny) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]