camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mac <>
Subject Camel SoapFault marshalling classcast exception
Date Fri, 29 Apr 2016 15:25:03 GMT

I am using the camel-soap project, and working on some exception handling.

I have a SoapFault response which is below.

When camel processes the response, I receive a classcast exception on Line
195 of the Soap11DataFormatAdapter class 
ie I get the following error at line: JAXBElement<?> detailEl =
(JAXBElement<?>) detailList.get(0);

java.lang.ClassCastException: cannot be cast to
javax.xml.bind.JAXBElement type: 

Is there any easy way to fix this? do some custom marshalling or something
else, I have been unsuccesful so far.

<SOAP-ENV:Envelope xmlns:xsd=""
<faultstring>A timeout occurred during processing</faultstring>
<detail><text>Timeout. Broker TEST_BROKER did not provide a response within
the specified time interval (60 seconds)</text></detail>

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message