Hi,

My restful service supports both xml and json. Each method in the service
can accept either a xml request or a json request. Is there a way I can
validate the incoming requests that are in xml or json format.

My soap web service auto generates the wsdl and that has all the required
validations. These are generated from the annotations I have used in the
soap web service.

Is there any such thing in restful web service? Right now my wadl does get
generated, but how do we add the required condition for some of the
mandatory elements I have in my request.

Regards,
Jasmina



--
View this message in context: 
http://cxf.547215.n5.nabble.com/restful-XML-JSON-and-schema-validation-tp5735373.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to