get averages ui rest services implemented using cxf jax rs