Glen,

Thanks for the response. It is a JAXB specific question and yes I did
google for both of those but they turn up pages related to an XmlAdapter
which doesn't seem like the right solution. In addition we don't use
annotations (we use the InlineAnnotationsReader from JBoss) so I'm not sure
how I'd configure the XmlAdapter anyways. I was looking for a simpler
solution if one was available - just feeling out the CXF group to see if
anyone else has solved this with JAXB+CXF.

Regards,
Kaleb


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Glen Mazza <[EMAIL PROTECTED]>                                               
                                                                |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |11/28/2007 11:28 PM                                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Re: Example of JAXB and HashMap serialization?                               
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Are you sure this is a CXF/JAXB-specific question instead of a more
generic JAXB question?  (CXF's JAXB is the same as GlassFish Metro's,
for example.)  Does googling "JAXB" and "HashMap" get you anything
useful?

Glen

Am Mittwoch, den 28.11.2007, 10:13 -0500 schrieb Kaleb Walton:
>
> 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