Hi

I've got this issue fixed, thanks for reporting it, to be honest I'm not seeing how it worked earlier :-), but may be I'm missing something

It should work for you now if on the client side you remove the "unmarshallAsJaxbElement" property, will work as expected after the release;

Sergey

On 18/06/13 18:59, NCorbet wrote:
If I do the following JSONProvider works:

@XmlRootElement
public class SiteListWrapper implements Serializable{

        private static final long serialVersionUID = -7126992538125646051L;
        
        private List<Site> siteList;
        
        public SiteListWrapper(){
                
        }
        
        public SiteListWrapper(List<Site> siteList){
                super();
                this.siteList = siteList;
        }

        public List<Site> getSiteList() {
                return siteList;
        }

        public void setSiteList(List<Site> siteList) {
                this.siteList = siteList;
        }
        
        
}

This is not an ideal solution as it would cause a fair amount of
refactoring, especially since it worked "out of the box" with CXF Dosgi 1.3.

Neil



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Dosgi-1-4-JSONProvider-not-deserializing-collections-Possible-defect-tp5729447p5729457.html
Sent from the cxf-user mailing list archive at Nabble.com.



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to