You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2010/07/02 13:44:49 UTC

[jira] Created: (CXF-2868) JAXB unmarshal error when the field of partTypeClass is javax.xml.datatype.XMLGregorianCalendar

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

                 Key: CXF-2868
                 URL: https://issues.apache.org/jira/browse/CXF-2868
             Project: CXF
          Issue Type: Bug
            Reporter: jimma
            Assignee: jimma
             Fix For: 2.2.10


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;
    }

}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2868) JAXB unmarshal error when the field of partTypeClass is javax.xml.datatype.XMLGregorianCalendar

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jimma resolved CXF-2868.
------------------------

    Resolution: Fixed

> JAXB unmarshal error when the field  of  partTypeClass  is javax.xml.datatype.XMLGregorianCalendar
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2868
>                 URL: https://issues.apache.org/jira/browse/CXF-2868
>             Project: CXF
>          Issue Type: Bug
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.2.10
>
>
> 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;
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.