[
https://issues.apache.org/jira/browse/CXF-697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12500658
]
Freeman Fang commented on CXF-697:
----------------------------------
I realize your testcase may have problem, if you use DynamicClientFactory to
create client, then you use jaxb datebinding.
If you want to use Aegis databinding,
you should follow the code to setup client in our wiki.
http://cwiki.apache.org/confluence/display/CXF20DOC/Aegis+Databinding
I just change your testcase slightly to use aegis databinding and it runs ok.
Please see the cxftestwithaegis.tar
> Agis ClassCastException:
> -------------------------
>
> Key: CXF-697
> URL: https://issues.apache.org/jira/browse/CXF-697
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.0-RC
> Environment: Linux Debian - Java 1.5- CXF trunk
> Reporter: Guillaume Alleon
> Assignee: Freeman Fang
> Fix For: 2.0
>
> Attachments: cxftest.tgz, cxftestwithaegis.tar
>
>
> Got a java.lang.ClassCastException: org.apache.cxf.service.model.BindingInfo
> when using a Dynamic client (Aegis Binding)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.