Hi,
is there any way of uploading/deploying rdl files to the reportserver other than report manager in real time
wat happened:-
i had developed reports (rdl files) and we have a setup for the web application
During Implementation
after the application is installed in the web server. we needed to deploy reports & datasources (rdl & rds files) to the report server.
wat we did was - manually upload each rdl file using report manager. and the eventually the datasource which the reports use was uploaded.
but problem here was when i ran the report it did not find/recognize the datasource it wanted although i had uploaded it. and i had to manually set the datasource once again for all the reports. assume there are 50 reports do i need to do it everytime for each report manually?
is there any way all these can be done programmatically ?
Sure it can be done programmatically by SOAP API.
CreateDataSource () to create a data source
CreateReport () to create a report
SetReportDataSources() to bind a report to a data source
|||thanks for the reply
I am new to .NET technology.
how do i refer or implement SOAP API in my application
by the way ...
CreateReport () to create a report
SetReportDataSources() to bind a report to a data source
.... these above methods are used to create a new report or deploy already designed report to the report server
|||basically i need a sample which allows me to pick & upload a rdl and rds file to report server.
pls help me out to give me either links or samples
|||In Visual Studio, add a web reference to the SOAP endpoint for RS. The url is http://<servername>/ReportService/ReportService2005.asmx.
Once you have done that, your project in VS should be able to use the RS SOAP APIs. In your case, what you will have to do is open the .RDL file, and pass the contents of that file to CreateReport().
This sample on MSDN should give you enough information:
http://msdn2.microsoft.com/en-us/library/ms169926.aspx
No comments:
Post a Comment