WCF webservice OR .net webservice
Posted on 2012-09-19
I have created a .net website which calls SSRS web service with a report name, and parameter, generates the report as a pdf document and saves it on a file server. This part is just for learning to use SSRS webservice to generate reports.
I now want to create my Reporting Web Service that will take an rdl file name and the parameter values to to run the report on a predefined report server to generate the report in pdf format and return byte array for the file to the client.
Example: I have a report called CustomersByRegion on my report server that takes regionID as a parameter. The report shows all the customers in that region.
Now using my Reporting web service I want to be able to pass the rdl name 'CustomersByRegion' and RegionID 101, so this web service will use the SSRS web service to run the report with this parameter, generate a byte array for a pdf and return the byte array.
Is this possible? Do I need to create a WCF web service for this purpose or just a .net web service?