Great, thank you for the clarification - I hope 'supposedly' turns into
'definitely' ;-). We can hold out for the maturation of the trunk and some
examples to bubble up before diving in.

Regards,
Kaleb


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Benson Margulies" <[EMAIL PROTECTED]>                                       
                                                                 |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |<cxf-user@incubator.apache.org>                                              
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |11/28/2007 12:55 PM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |RE: Example of JAXB and HashMap serialization?                               
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





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
>

Reply via email to