integrated restservice in application