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 -

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -