Restful webservice with mysql