|
|
Hi,
I am trying to create a web service which should have constraints on its method parameters.
For ex: testWebService() has a invoke method which accepts Object (String, int, boolean). I would like to add few constraints on the parameters so that while invoking web-service it will not allow to select other than accepted values.
in my object, the string parameter will only accept fileType txt or pdf.
Any suggestion to get this implemented is highly appreciated.
Thanks