The Prince of Wales will represent the King at the funeral of Harald V in Oslo next week.