cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2868) JAXB unmarshal error when the field of partTypeClass is javax.xml.datatype.XMLGregorianCalendar
Date Mon, 12 Jul 2010 09:41:50 GMT

     [ 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.


Mime
View raw message