[jboss-user] [JBoss Web Services] - Resteasy unmarshall arraylist objects
Benqun zhang
do-not-reply at jboss.com
Tue Nov 2 11:53:03 EDT 2010
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&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101102/d7404567/attachment.html
More information about the jboss-user
mailing list