I'm trying to work through the code sample at http://msdn.microsoft.com/en-us/library/reportexecution2005.reportexecutionservice.render(v=sql.105).aspx but can't find the ReportExecutionService class. At first I tried to add a reference to a .NET namespace and it turned out that I needed to add a service reference. I thought I was in the clear. Then I realized that I needed to include the namespace MyProjectName.ReportExecutionService_MyUniqueName, which was a namespace/class genereated by Visual Studio when I added the web service reference.
Ok, so now I'm trying to find the class MyProjectName.ReportExecutionService_MyUniqueName.ReportExecutionService, just like the first line in the Main() method of the code sample. However, the class is not found. Intellisense (and error messages when compiling) show that only a class called ReportExecutionServiceSoap and ReportExecutionServiceSoapChannel exist. I can't find any references to those in any MSDN samples and the structures of the classes don't seem to be the same (at least according to Intellisense).
The project is set to compile for .NET 3.5.
Can anyone explain why I can't see the ReportExecutionService class or what my alternatives are?
Thanks!