add restfulservice