The groom, Prince William, Duke of Cambridge , is the eldest son of Charles, Prince of Wales , and is second in the line of succession to the British Throne and the thrones of fifteen other Commonwealth realms .