validation for rest methods (also included bug 1304)

git-svn-id: svn://svn.forge.objectweb.org/svnroot/spagobi/V_4.x/Server/trunk@20546 99afaf0d-6903-0410-885a-c66a8bbb5f81