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 ?

        
                james





--
View this message in context: 
http://camel.465427.n5.nabble.com/JAXB-Unmarshalling-of-soap-xml-including-schema-validation-tp5751290p5751332.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to