rest - JAX RS Jersey Schema Validation -


how configure schema validation jax-rs restful services?

we using xsd define models, , jaxb generate java models.

this how it's done automatically in rexsl: xslresolver#addxsdvalidatortomarshaller() (pay attention highlighted method). in nutshell, need use setschema() of jaxb marshaller.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -