satheesh kumar
Top achievements
Rank 1
satheesh kumar
asked on 31 Dec 2009, 04:31 AM
Hi,
I wish to generate the report in WCF service and consume it in Windows Form Application (client). I am able to consume the report (which is generated in WCF service) from silverlight web application by setting the ReportServiceURI property and Report property as mentioned in one demo. But I could not find any property to access the WCF service in WinForm Telerik Report viewer. How can I consume the WCF service's report in Windows Form Client application? And also How can I consume the report in web application having telerik report viewer in a page?
Thanks,
Satheesh
I wish to generate the report in WCF service and consume it in Windows Form Application (client). I am able to consume the report (which is generated in WCF service) from silverlight web application by setting the ReportServiceURI property and Report property as mentioned in one demo. But I could not find any property to access the WCF service in WinForm Telerik Report viewer. How can I consume the WCF service's report in Windows Form Client application? And also How can I consume the report in web application having telerik report viewer in a page?
Thanks,
Satheesh
9 Answers, 1 is accepted
0
Chris Gillies
Top achievements
Rank 1
answered on 04 Jan 2010, 04:10 PM
You should first host the service in a web application and then consume it from your windows form in order to achieve what you're after (although not a great solution).
Cheers!
Cheers!
0
Slawomir Dorzak
Top achievements
Rank 1
answered on 05 Feb 2010, 03:09 PM
Hi Chris,
Can you give an example how would you use telerik WCF reporting service with WinForms report viewer? (I can't find any property on it to set the report server URL...)
And also could you explain why you think it's not a good solution?
What other solution would you propose if I want to host reports on the server and have WPF clients displaying the reports over the internet?
Thanks!
Can you give an example how would you use telerik WCF reporting service with WinForms report viewer? (I can't find any property on it to set the report server URL...)
And also could you explain why you think it's not a good solution?
What other solution would you propose if I want to host reports on the server and have WPF clients displaying the reports over the internet?
Thanks!
0
Jeff Loi
Top achievements
Rank 1
answered on 28 May 2010, 02:39 PM
Hi
Is there a solution for this issue? I try to implement a report service that would support WinForm, ASP.Net, and Silverlight clients. Is this possible? I have the latest Q1 2010 reporting service installed .
Thanks,
Jeff
Is there a solution for this issue? I try to implement a report service that would support WinForm, ASP.Net, and Silverlight clients. Is this possible? I have the latest Q1 2010 reporting service installed .
Thanks,
Jeff
0
Slawomir Dorzak
Top achievements
Rank 1
answered on 28 May 2010, 03:30 PM
Hi Jeff,
In the end I didn't get a satisfactory solution from Telerik.
I managed to get more less what I wanted by using SQL Reporting services (but I didn't use Silverlight) although I'd still be interested if you could do it with telerik.
Cheers,
Slav
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 28 May 2010, 03:36 PM
Does this thread help?
Cheers!
How to create Self-Hosted Telerik Reporting WCF Service in 9 easy steps
Cheers!
0
Slawomir Dorzak
Top achievements
Rank 1
answered on 28 May 2010, 03:54 PM
that's a good link, but as far as I remember you don't have Windows forms or WPF version of report viewer that works with WCF service sources (only silverlight viewer supports it) - unless I'm wrong.
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 28 May 2010, 04:21 PM
Indeed you are correct and the Silverlight viewer is the only one that uses the WCF report service (yet I guess). I saw another related blog post (Using
Telerik Report WCF Service (or how to display reports in RadBook) ), which demonstrates how to create your own viewer UI and use the WCF report service to communicate with the Telerik Reporting Engine, so I believe it is a matter of time to have this as out of box feature for all viewers.
Cheers!
Cheers!
0
Jeff Loi
Top achievements
Rank 1
answered on 28 May 2010, 05:35 PM
Since the report engine can send the report to the silverlight viewer, there seems to be a way to serialize/deserialize the report object and pass throught the WCF channel.
If that serialization logic is available, the report object could be the return on a WCF service call.
If that serialization logic is available, the report object could be the return on a WCF service call.
[
OperationContract]
Telerik.Reporting.
Report GetReport();
OR a serialized stream
[OperationContract]
byte[]
GetReport();
Any idea on this approach?
Regards,
Jeff
0
Dmitriy Didenko
Top achievements
Rank 1
answered on 30 Jun 2010, 04:10 PM
Hi, Jeff!
So, did you get any idea of making WCF working with WinForm client?
I also need to use WinForm and ASP.Net clients with WCF service.
Thanks,
Dmitriy
Dmitriy