It can't be done well with the JAXB we have in 2.0.x, I am told. Aegis does it nicely. The trunk uses new stuff in JAXB, which supposedly supports it, but I don't have any experience.
> -----Original Message----- > From: Kaleb Walton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 28, 2007 10:14 AM > To: cxf-user@incubator.apache.org > Subject: Example of JAXB and HashMap serialization? > > > > I'm writing documentation for how to write services and got > to a point where I have to say "Do not use HashMap's in any > of your services as CXF + JAXB does not support serializing > HashMaps". I'd rather not have to say that - are there any > examples out there of how to get HashMaps to serialize using > CXF + JAXB? > > I've seen the XmlAdapter stuff out there but that doesn't > suit my needs for two reasons: > > 1) We don't use annotations > 2) We want to use HashMaps, not pseudo-maps > > I may be misunderstanding the solutions pointed out in the > articles, if so please help me see the light! > > Regards, > Kaleb >