"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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...