Preparing client side to consume rest services using breeze