Please find the links for configuring and using EWS impersonation for the Exchange 2007:

Hope this helps!