camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From james555 <>
Subject Re: JAXB-Unmarshalling of soap xml including schema validation
Date Tue, 20 May 2014 07:26:50 GMT
Hello Willem, hello akoufoudakis,

thanks for your both answers! When using method setSchema Compiler says "the
method setSchema(String) is undefined for the type SoapJaxbDataFormat".
Casting does also fail.

trying akoufoudakis idea seems to work partly. After sending soap-xml
validator initially warns: 

"Cannot find the declaration of element 'soapenv:Envelope'" 

But after that the real payload validation message follows like expected:
"Invalid content was found starting with element 'B-ELEMENT'. One of
'{A-ELEMENT}' is expected."

Perhaps I have to extract soap-body payload manually or filter validation
messages ?


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

View raw message