Fixed bugs web services

Signed-off-by: robertomorati <robertomorati@gmail.com>