You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Niket Anand <ni...@noida.manystreams.com> on 2003/05/27 00:36:47 UTC

java.util.properties not supported in Bean field

Hello All,
I am facing java.lang.IllegalArgumentException exception when I define a field as java.util.Properties.
How or what modification is needed such that I can have Properties field in Bean. I donot need to change it to HashMap.
Is it possible in Axis???

- Could not convert java.util.HashMap to bean field 'returnObject', type java.ut
il.Properties
- Exception:
java.lang.IllegalArgumentException: argument type mismatch
        at org.apache.axis.encoding.ser.BeanPropertyTarget.set(BeanPropertyTarge
t.java:181)
        at org.apache.axis.encoding.DeserializerImpl.valueComplete(DeserializerI
mpl.java:282)
        at org.apache.axis.encoding.DeserializerImpl.endElement(DeserializerImpl
.java:541)