Passing values to service to query response