Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 1:05 AM, eejimkos [EMAIL PROTECTED] wrote: (HashMapString,ListString)client.execute(Open.OpenEnvironment1, params); I am not exactly sure, what you receive, but - Generics are a no - The ListString is converted into an Object[] Possibly other problems may be

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 12:40 PM, Stanislav Miklik [EMAIL PROTECTED] wrote: return value (Jochen probably knows that always Object[], but since it is not described...) That's not completely true: See http://ws.apache.org/xmlrpc/faq.html#arrays May be, that we need to make this more

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Stanislav Miklik
Hi *, generic types are not problem for XML RPC since collection are not generic at runtime (ie. this is only compile time check, however some compile time warning you will get). Normally you have no problem to cast return values as they are mapped as described in API docs. But with XML RPC

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread Jochen Wiedmann
On Mon, Apr 14, 2008 at 12:55 PM, Stanislav Miklik [EMAIL PROTECTED] wrote: Btw: how can I create patch for doc? Just checkout the projects source code. All docs, including the web site, are part of it. Jochen -- Look, that's why there's rules, understand? So that you think before you

[PATCH] Faq: ClassCastException

2008-04-14 Thread Stanislav Miklik
Hi Jochen, here is my first patch ;-) I think the cast in the faq would cause ClassCastException and should be omitted. Regards Stano - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: hi...problem with xml rpc java and tomcat

2008-04-14 Thread eejimkos
tnks for ur replies...i'll ckeck ur advises i'm sure that my client receives the Map as i described...i made a simple xml with 2 strings and the result was MapString, List. i send 2 Strings for my database (which returns me the results of the apropriate fields..i use the berkeley java