Translate DataHandlers into Images, OctetStreams, etc and vis a versa where 
appropriate.
----------------------------------------------------------------------------------------

                 Key: CXF-689
                 URL: https://issues.apache.org/jira/browse/CXF-689
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
            Reporter: Jervis Liu
         Assigned To: Jervis Liu


See test case: ClientServerSwaTest.testSwaTypes()

Exception we got is as below:

Caused by: java.lang.ClassCastException: javax.xml.transform.stream.StreamSource

        at org.apache.cxf.jaxws.interceptors.SwAOutInterceptor.handleMessage(SwA
OutInterceptor.java:107)
        at org.apache.cxf.jaxws.interceptors.SwAOutInterceptor.handleMessage(SwA
OutInterceptor.java:48)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
orChain.java:147)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:249)
        at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:200)
        at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
        at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:13
4)
        ... 26 more



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to