querying S-RAMP server