Hi On Wed, Mar 30, 2011 at 10:28 AM, Uma <[email protected]> wrote:
> Hi, > > I am using below xsd to validate incomming http(s) request . I have > configured it in cxf spring xml. > > classpath:/schemas/schema1.xsd > > > > I have written CustomValidationEventHandler class. How to configure this > cxf > spring xml? > > > You have to explicitly configure org.apache.cxf.jaxrs.provider.JAXBElementProvider (in the jaxrs:providers section) and set a 'validationHandler' property on it. I'm also going to look at the schemas you attached Sergey > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/How-to-setup-Custom-Validation-Event-Handler-COnfiguration-in-CXF-spring-xml-tp4271097p4271097.html > Sent from the cxf-user mailing list archive at Nabble.com. >
