A Washington Post appeal for information about the military qualified as prohibited “solicitation,” according to defense officials.