Benqun zhang [
http://community.jboss.org/people/benzhang0001] created the discussion
"Resteasy unmarshall arraylist objects"
To view the discussion, visit:
http://community.jboss.org/message/569344#569344
--------------------------------------------------------------
the service sends a list of objects like:
<theObjects>
<theObject>
<attr1>v1</attr1>
<attr2>w1</attr2>
</theObject>
<theObject>
<attr1>v2</attr1>
<attr2>w2</attr2>
</theObject>
</theObjects>
one class is created with @XmlRootElement(name="theObject")
Then
ProxyFactory create the service:
List<theObject> getTheObjects();
I get unmarshall error:
org.jboss.resteasy.plugins.providers.jaxb.CollectionProvider.readFrom(CollectionProvider.java:164)
Please advice!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/569344#569344]
Start a new discussion in JBoss Web Services at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]