update web service to return error for synchronous methods