Beijing has told the Pentagon and the US Defence department that it will not allow a series of senior military visits to go ahead. The trips included one visit to the US by a senior Chinese general.