A police officer was sentenced on Monday to six months of community service by a Tel Aviv Magistrate's court for soliciting sexual favors from a prostitute.The police officer told the prostitute he would not arrest her if she provided him with sexual favors.