Can you check if camel-jaxb and camel-soap jar in you class path are the same version?
-- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On May 20, 2014 at 3:27:16 PM, james555 (luke...@gmx.net) wrote: > 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. >