Ideally, CXF would just peek at the namespace on the message, pick the schema corresponding to that namespace from the XML catalog and validate against that.
Cheers, Jens Aki Yoshida-3 wrote > Hi, > I am not sure how you want to set it up. Where do you expect the > corresponding schema to be specified? > Specified in the message arbitrarily to just validate it own validity > claim or some out of bands schemas are specified for the endpoint to > accept or reject messages? > > regards, aki > > 2015-06-17 11:28 GMT+02:00 Jens < > smixdev@ > >: >> Hi, >> >> I have a (Camel) CXF endpoint that has no WSDL attached because it can >> receive messages for various services. I'd still like the endpoint to >> validate requests, though, ideally by looking up the schema to use from >> an >> XML catalog or the like. >> >> I have enabled schema validation on the endpoint, and it works fine if I >> supply a WSDL, but it doesn't work without the WSDL. Is there a way to >> have >> CXF validate the request with a setup like that? >> >> Thanks, >> Jens >> >> >> >> -- >> View this message in context: >> http://cxf.547215.n5.nabble.com/Schema-Validation-with-non-WSDL-endpoint-tp5758353.html >> Sent from the cxf-user mailing list archive at Nabble.com. -- View this message in context: http://cxf.547215.n5.nabble.com/Schema-Validation-with-non-WSDL-endpoint-tp5758353p5758419.html Sent from the cxf-user mailing list archive at Nabble.com.
