If the ServiceInfo object has a Schema.class property on it that would represent all the possible schemas, it should work. Thus, if you can build up a javax.xml.validation.Schema object somehow, you would just need to get that set on the ServiceInfo. This could be done during startup if you can get the ServiceInfo object or via an interceptor that runs early in the chain.
Dan > On Jun 17, 2015, at 5:28 AM, Jens <smix...@dzbank.de> wrote: > > 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. -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com