cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-3638) wsdl_first_dynamic_client example doesn't work
Date Mon, 08 Aug 2011 14:40:27 GMT

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

Daniel Kulp updated CXF-3638:
-----------------------------

    Fix Version/s: 2.4.2
                   2.3.6

> wsdl_first_dynamic_client example doesn't work
> ----------------------------------------------
>
>                 Key: CXF-3638
>                 URL: https://issues.apache.org/jira/browse/CXF-3638
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: 2.4.1, 2.3.5
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.3.6, 2.4.2
>
>
> If we run mvn -Pserver and then mvn -Pclient
> then from the client console we get exception like
> org.apache.cxf.interceptor.Fault: com.company.application.GetAgentDetails cannot be cast
to com.company.application.AgentWSRequest
> 	at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:121)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:546)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:343)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:295)
> 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:315)
> 	at demo.hw.client.ComplexClient.main(ComplexClient.java:97)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:291)
> 	at java.lang.Thread.run(Thread.java:680)
> Caused by: java.lang.ClassCastException: com.company.application.GetAgentDetails cannot
be cast to com.company.application.AgentWSRequest
> 	at com.company.application.GetAgentDetails_WrapperTypeHelper1.createWrapperObject(Unknown
Source)
> 	at org.apache.cxf.jaxws.interceptors.WrapperClassOutInterceptor.handleMessage(WrapperClassOutInterceptor.java:105)
> 	... 12 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message