Querying infrastructure in server, stub of client