users@jersey.java.net

[Jersey] XML data vaidation with JAXB

From: <cougar_at_casadelgato.com>
Date: Tue, 12 Jul 2011 14:42:28 +0000 (GMT)

We are using jersey with jaxb generated classes.
We'd like to enable input data validation, but I've been unable to
figure out just how to do this.
Is there a tutorial somewhere for this?

It looks like I'll need to generate a schema from the xsd file, but all
the instructions for using it involve setting up an unmarshaller -
which jersey seems to do internally, so I don't have access to it.