I\'m trying to unmarshal an xml to an object using moxy.Below is the sample of the xml.
value
You need to use the @XmlValue annotation on the addressline property.
@XmlValue
addressline
@XmlAccessorType(XmlAccessType.FIELD) class Address { @XmlValue String addressline; }