Hi,
I'm building a report where the data is coming from a WCF Data Service.
I've therefore taken the approach outlined in this thread - http://www.telerik.com/community/forums/reporting/telerik-reporting/getting-data-from-web-service.aspx
In my report class I've added reference to the WCF Service and then implemented an extension - giving me a method that gets the data from the actual WCF service and returns an enumerable of the datatype I need to put into a table in the report. My new method is called "GetInvoicesDueThisMonth"
I've then added an ObjectDataSource from the toolbox and set it up in exactly the same way as the thread above - with the DataSource being the WCF service client class and the DataMember being the new extension method I implemented.
Next I set the DataSource of the Report to be the ObjectDataSource I added from the toolbox.
Finally I clicked on the Table Wizard from the toolbox and when I select my ObjectDataSource from the "Current Data Sources" - it throws back an error "Method GetInvoicesDueThisMonth() Not found."
I've attached two screenshots - the first showing the method implemented in the service extension and the second showing the error I'm getting... I've obviously had to blackout parts that I can't show.
Any idea how to resolve this and what I could be doing wrong?
I'm building a report where the data is coming from a WCF Data Service.
I've therefore taken the approach outlined in this thread - http://www.telerik.com/community/forums/reporting/telerik-reporting/getting-data-from-web-service.aspx
In my report class I've added reference to the WCF Service and then implemented an extension - giving me a method that gets the data from the actual WCF service and returns an enumerable of the datatype I need to put into a table in the report. My new method is called "GetInvoicesDueThisMonth"
I've then added an ObjectDataSource from the toolbox and set it up in exactly the same way as the thread above - with the DataSource being the WCF service client class and the DataMember being the new extension method I implemented.
Next I set the DataSource of the Report to be the ObjectDataSource I added from the toolbox.
Finally I clicked on the Table Wizard from the toolbox and when I select my ObjectDataSource from the "Current Data Sources" - it throws back an error "Method GetInvoicesDueThisMonth() Not found."
I've attached two screenshots - the first showing the method implemented in the service extension and the second showing the error I'm getting... I've obviously had to blackout parts that I can't show.
Any idea how to resolve this and what I could be doing wrong?