axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Fabris <>
Subject Re: Can Hashtable object be used as parameter of RPC?
Date Thu, 07 Oct 2004 13:03:39 GMT
Hi Jia!
We succefully use Axis 1.1 RPC services that use hashtable as parameters 
(both in and out). However you have to be careful about 
interoperability, because SOAP client written in other language (such as 
Perl and C/C++) can't handle in the right way nested maps.

Andrea Fabris

On 07/10/2004 14.34, Jia Yiyu wrote:

>Hello everybody,
>I am trying to use java.util.Hashtable or java.util.Properties class as
>parameters of my RPC methods. But I got "java.lang.ClassCastException" on
>the server side and , of course, my client side calling was failure. I see
>some application use Vector object as RPC method's parameter. But why do I
>get ClassCastException?
>I feel strange because both Hashtable and Properties classes have
>implemented the interface already. And the "key" and
>"value" in the Hashtable or Properties are all java.lang.String object.
>Hence, can we use objects of java.util.Properties and java.util.Hashtable as
>RPC methods' parameters?
>Thanks in advance for response!
>	Jia Yiyu

View raw message