To use httpContext I changed app.config and added <serviceHostingEnvironment aspNetCompatibilityEnabled="true"> inside <system.serviceModel>.
I also added using System.Web to my implementation class.
Problem is, httpcontext is not available in my implementation class after doing the required steps.
What I am missing?
See here: WCF Services and ASP.NET