To make raspberry syrup: Place raspberries in a medium saucepan with water, and bring to a boil. Once it starts to boil, reduce the heat to a simmer and let the raspberries cook for 15 to 20 minutes, or until the water is deep pink in color. Strain the raspberry liquid through a fine mesh strainer and return to the pot. Discard the berries. Add sugar to the liquid, and bring to a simmer. Let the syrup simmer for 5 minutes or until the sugar is completely dissolved and the syrup has thickened.
To make the frappuccino: In a blender, blend together ice, milk, vanilla bean ice cream, sugar, vanilla extract, and raspberry syrup until smooth. Garnish with whipped cream and chocolate shavings.