server and client example using service 3 rest