java api to access to rsp services