title: xml input validation in restful webservice
body: <p>I have a requirement that I need to send an xml file to the rest resource. And there I need to do some validation on that xml file. If the validation succeed then only that obj will be added. Can anyone give input on how to proceed.</p>