I have a SharePoint site that allows anonymous access (entire website). The site is up and running for a while now without any problems.
Now, I have created a WCF service (not REST) hosted in IIS that tries to retrieve data from the SharePoint site. I thought that since web application is anonymous, I would not have any issues retrieving the data. However, every time the application tries to open the web and tries to get a list I get an access denied.
Is it possible to retrieve data from an anonymous site using a WCF? If I use elevated I can get the data, but I do not want to use elevated as I have a publishing site and I want to retrieve only published data. Any ideas or suggestions?