Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2868

JAXB unmarshal error when the field of partTypeClass is javax.xml.datatype.XMLGregorianCalendar

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.10
    • None
    • None

    Description

      The JAXB Bridge should be used to unmarshall the xml for this class :
      @XmlAccessorType(XmlAccessType.FIELD)
      @XmlType(name = "GMonthTest", propOrder = {
      "value"
      })
      public class GMonthTest {

      @XmlElement(required = true, nillable = true)
      @XmlSchemaType(name = "gMonth")
      protected XMLGregorianCalendar value;

      /**

      • Gets the value of the value property.
      • @return
      • possible object is
      • {@link XMLGregorianCalendar }
        *
        */
        public XMLGregorianCalendar getValue() { return value; }

        /**
        * Sets the value of the value property.
        *
        * @param value
        * allowed object is
        * {@link XMLGregorianCalendar }
      • */
        public void setValue(XMLGregorianCalendar value)

        { this.value = value; }

      }

      Attachments

        Activity

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: