I was able to fix the ClassCastException by adding my ObjectFactory to the
contextPath, using the Multiple context paths ":" seperator.

That made sure the ElementNSImpl was converted into a JAXBElement.

Unfortunately, it then fails with a NullPointerException on the 1st line of
the try/catch because there is no exceptions to map to.

I guess I will just handle the wrapped exceptions for now.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-SoapFault-marshalling-classcast-exception-tp5781986p5782128.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to