cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3638) wsdl_first_dynamic_client example doesn't work
Date Thu, 07 Jul 2011 03:15:16 GMT
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.3.5, 2.4.1
            Reporter: Freeman Fang
            Assignee: Freeman Fang


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