working rest service and web client