You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/08/01 08:33:51 UTC
[jira] [Commented] (CXF-5170) java.lang.ClassCastException
[ https://issues.apache.org/jira/browse/CXF-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726112#comment-13726112 ]
Freeman Fang commented on CXF-5170:
-----------------------------------
Please post your question on users mailing list, and elaborate your scenario.
You shouldn't use jira to ask questions.
About your question here, service model is generated from your wsdl|code, the namespace used there determine the package
> java.lang.ClassCastException
> ----------------------------
>
> Key: CXF-5170
> URL: https://issues.apache.org/jira/browse/CXF-5170
> Project: CXF
> Issue Type: Bug
> Components: Dynamic Languages
> Affects Versions: 2.7.6
> Environment: win7,eclips,spring3.1+ibatis2.3
> Reporter: pendaqu
> Fix For: 2.7.6
>
>
> i'm using CXF in my project , i want the service to return a java bean class back, when i test the client,it throws this exception:
> java.lang.ClassCastException: com.ootam.webservice.dao.SystransferMeterDataBean cannot be cast to test.SystransferMeterDataBean
> at test.Test.main(Test.java:33)
> i use the same java bean to test ,and the bean is in test folder,there isn't any bean in com.ootam.webservice.dao,is there anyone hava seen this before and help me??
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira