cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-1788) Problem with Calendar
Date Thu, 23 Oct 2008 04:00:45 GMT

     [ https://issues.apache.org/jira/browse/CXF-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang closed CXF-1788.
-----------------------------


> Problem with Calendar
> ---------------------
>
>                 Key: CXF-1788
>                 URL: https://issues.apache.org/jira/browse/CXF-1788
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.1.2
>         Environment: JDK 5, JDK 6, WIndows Vista.
>            Reporter: Alejandro 
>             Fix For: 2.1.3
>
>         Attachments: XFireCustomMapping.java
>
>
> Hi, I'm migrating a XFIRE ws application to CXF. Because I need to
> keep alive the compatibility with XFIRE I use Aegis as DataBinding.
> I've solve a problems but now I cna't solve the problem with the
> Calendar datatype, some of my classes uses java.util.Date or
> java.util.Calendar. When the binding tried to make the bindings I've
> get this error:
> javax.xml.ws.WebServiceException: java.lang.ClassCastException:
> org.apache.cxf.aegis.type.basic.CalendarType cannot be cast to
> org.apache.cxf.aegis.type.basic.BeanType
>        at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:267)
> .......
> Caused by: java.lang.ClassCastException:
> org.apache.cxf.aegis.type.basic.CalendarType cannot be cast to
> org.apache.cxf.aegis.type.basic.BeanType
>        at org.apache.cxf.aegis.type.basic.BeanType.getSuperType(BeanType.java:670)
>        at org.apache.cxf.aegis.type.basic.BeanType.writeSchema(BeanType.java:417)
>        at org.apache.cxf.aegis.databinding.AegisDatabinding.createSchemas(AegisDatabinding.java:478)
>        at org.apache.cxf.aegis.databinding.AegisDatabinding.initialize(AegisDatabinding.java:323)
> In XFire I've create a CustomMapping to solve this problem, but in CXF
> I don't find any example about that.

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