It is "inherent", but only for an exact match of the type Map. When the Parameter instance is created, the type specified there is used to determine the serializer. Specifying the type using HashMap.class does not match the serializer for Map, which is registered using Map.class.
Alternatively, you can specify HashMap.class when instantiating the Parameter, but then you must add a mapping using SOAPMappingRegistry#mapTypes for HashMap. Scott Nichol ----- Original Message ----- From: "Niclas Hedhman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 01, 2002 9:46 PM Subject: Re: Confusing issue on Maps > On Tuesday 02 July 2002 09:45, Scott Nichol wrote: > > To get a TreeMap or HashMap to serialize using MapSerializer, you can > > either register the MapSerializer for those types, or specify the parameter > > as having a Java type of Map, e.g. > > > > TreeMap myMap; > > Vector params = new Vector(); > > params.addElement(new Parameter("myMap", Map.class, myMap, null)); > > So it is not "inherent" to the system? > > Niclas > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>