cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: How to use Map?
Date Thu, 21 Jul 2011 20:03:05 GMT

If you look in the CXF distribution, there is a java_first_jaxws demo.  It 
shows a specific example of writing an adapter to map a Map to constructs that 
JAXB can handle.   Definitely the best place to start.

Dan


On Tuesday, July 19, 2011 12:32:49 PM Tanveer ul Islam wrote:
> Greetings,
> 
> I have to include a map in my bean that needs to be marshaled like:
> 
> public Map<String, UserAccessibility> userRights;
> 
> I am able to generate the WSDL if i use *public *and mention no annotation.
> Actually i have to change the accessor to *private* but what should be the
> annotation? And is there any page where i can find example to use Map with
> CXF Web Service?
> 
> Thanks in advance.
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Mime
View raw message