Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-689

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • JAX-WS Runtime
    • None

    Description

      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

      Attachments

        Activity

          People

            jliu Jervis Liu
            jliu Jervis Liu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: