Hi

Do you have camel-jaxb on the classpath? It can help with coverting
JAXB POJOs to streams

On Mon, May 11, 2015 at 8:57 AM, jainmcs03 <tojayendran.in...@gmail.com> wrote:
>
> Team,
>
> Below my route and im getting below exception while unmarshal then marshal.
> Pls help resolve.
>
> Caused by: org.apache.camel.NoTypeConversionAvailableException: No type
> converter available to convert from type:
> localhost._8080.canonicalcxfserviceproxy.canonical.InquiryRequestType to the
> required type: java.io.InputStream with value
> localhost._8080.canonicalcxfserviceproxy.canonical.InquiryRequestType@19fe54bb
>
>   <camelContext trace="true" xmlns="http://camel.apache.org/schema/spring";>
>       <route streamCache="true">
>       <from uri="cxf:bean:canonicalService?dataFormat=PAYLOAD"/>
>       <wireTap
> uri="file:/home/analyzer/Desktop/input/?fileName=request.xml"/>
>       <unmarshal>
>         <jaxb prettyPrint="true"
> contextPath="localhost._8080.canonicalcxfserviceproxy.canonical"/>
>       </unmarshal>
>       <process ref="reqprocessor"/>
>       <marshal>
>         <jaxb prettyPrint="true"
> contextPath="com.equifax.services.eport.ws.schemas._1"/>
>       </marshal>
>       <wireTap
> uri="file:/home/analyzer/Desktop/input/?fileName=realrequest.xml"/>
>       </route>
>   </camelContext>
>
> Regards
> Jayendran
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/NoTypeConversionAvailableException-tp5766952.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to