Hi
On 11/07/13 18:29, Gaetano Ciotola wrote:
Hi,
I have implemented a jax-rs web service, the request is exclusively JSON.
I would like to perform some request validation but I have no idea how to
proceed.
Any suggestion would be much appreciated
If JSONProvider is used, try:
http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Schemavalidation
It is also possible to customize XMLStreamReader which accepts the
events from JSON reader and validate at that level
Sergey
Thanks
Gaetano
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com