how are you going to get the spear to reciprocate with the wiper motor ?

As i would of used a right angled gearbox and used this linkage
hqdefault.jpg