Lists should work fine. JAXB supports them without problems at all. Sets are another matter. JAXB doesn't support those directly. Thus, for those, you would need to write a type adapter and use the @XmlJavaTypeAdapter annotation. The java_first_jaxws has an example that uses the type adapters to map a Map as well as interfaces.

Dan



On Jun 15, 2008, at 8:49 AM, Suneet Shah wrote:

Hello:

Where can I find more details on CXF's support for Java Collections. I have a set of POJO's whose interfaces use Lists and Sets. I am wondering if need
to create an additional layer that expose these as Arrays or if can be
handled as is.

thanks
Suneet

---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to