[jboss-user] [JBossWS] - Re: Array JAXB binding
alesj
do-not-reply at jboss.com
Mon Nov 13 09:02:43 EST 2006
"alesj" wrote : How to bind the following object array?
|
| My class:
|
|
| | @XmlRootElement(namespace = "www.geoplin.si/Gms")
| | public class GMSWebSoapServerHistory implements Serializable {
| |
| | private HistoryObject[] collection;
| | private Period period;
| | private String mestoMeritve;
| | private String vrstaMeritve;
| |
| | @XmlElementWrapper
| | @XmlElement(namespace = "www.geoplin.si/Gms")
| | public HistoryObject[] getCollection() {
| | return collection;
| | }
| |
| |
Missing
anonymous wrote :
| @XmlElementWrapper(name = "collection", namespace = "www.geoplin.si/Gms")
| @XmlElement(name = "HistoryObject", namespace = "www.geoplin.si/Gms")
| public HistoryObject[] getCollection() {
| return collection;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985430#3985430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985430
More information about the jboss-user
mailing list