I created a wcf service(on local) which is successfully consume in web and console application but,
1. When I was trying to consume it in Windows Service by adding reference of wcf through URL I didnt get any access to DataContract in WCF.
2. Add reference to dll of WCF in Windows Service works fine, I dont want access WCF thorugh DLL.
In future service is hosted on IIS, this can access with any client through url
Please, Help me to consume WCF in Windows Service.