Abstract: We show how the Langlands-Kottwitz method can be used to determine thesemisimple local factors of the Hasse-Weil zeta-function of certain Shimuravarieties. On the way, we prove a conjecture of Haines and Kottwitz in thisspecial case.