Communicating with server using service and