 He served on the "Maple" during the Spanish–American War and attained his first command, "Villalobos", in 1904.During the First World War Wiley commanded battleship attached to the 6th Battle Squadron of the British Grand Fleet and received the Distinguished Service Medal for his "outstanding performance.