China said it welcomes trade and defense pacts signed Tuesday by Japan and Australia but warned the security partnership between Tokyo and Canberra must not harm security in the Asia-Pacific region.