Fixed some data validation of webservices

Signed-off-by: pgnunes <pgh.nunes@gmail.com>