BEIJING - The Chinese Foreign Ministry on Saturday protested the sailing of a U.S. warship near a disputed shoal in the South China Sea, saying Beijing would take "necessary measures" to safeguard its sovereignty.