Hi,
I'm using CXF 3.0.0-milestone2 version for exposing a REST API. I would like
to validate the incoming request which I'm able to do using the
JAXRSBeanValidationInInterceptor. If I'd like to return a good validation
error message to the caller, How do I get/access the parameter name which
caused the validation exception?

After a quick search I found that out there is a way, by implementing the
"javax.validation.ParameterNameProvider" interface. Luckily CXF source code
has got an example java class - JAXRSParameterNameProvider.java.

Now my question is - How do I register/configure this class within CXF
context?
Just FYI - I'm using spring to configure the jaxrs server 

Thanks, 
Ganga Aloori



--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-REST-How-to-register-configure-ParameterNameProvider-tp5742911.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to