camel cxfbean component throwing errors

Solution Verified - Updated -


  • I have a CXF web service that is exposed via Camel cxfEndpoint in a camel route. I am trying to use CXFBean component to provide the web service implementation as a backing bean. I deployed the war file on JBoss Fuse 7.0. However when I call the web service (via soapui) ,I get the soap fault
         <faultstring>Part {}greeting should be of type com.example.types.helloworld.Greeting, not org.apache.cxf.helpers.LoadingByteArrayOutputStream$LoadedByteArrayInputStream</faultstring>
  • and on the server log , I get the following exceptions
02:36:44,646 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (default task-2) Interceptor for {}HelloWorldImplService has thrown exception, unwinding now: java.lang.RuntimeException: Can't find input stream in message


  • Red Hat Fuse
    • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In