Hi You may have to ensure the classes is compatible. For example add a fixed serialVersionUID in the classes.
On Tue, Sep 27, 2011 at 1:51 PM, smythewin <sven.suept...@businessdecision.com> wrote: > Hi, > > I'am running a route wich perfoms JAXB unmarshalling before calling an EJB: > > > > The camel route and the EJB reside in two different web archives, both > deployt on the same application container. > > This results in: > > > The EJB method expects an object of the same type that was unmarshalled: > When deploying classes for camel route and the EJB in the same web archive > everything works as expected. > > Thanks in advance for all your help/suggestions. > > Sven > > -- > View this message in context: > http://camel.465427.n5.nabble.com/TypeConversion-with-JAXB-when-calling-remote-EJB-tp4845064p4845064.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/