I would like to know how to create a shared DataSet programmatically in a report server using the report server web service?
I can create folders (using the CreateFolder method), reports (CreateReport), data sources, but the web service does not have a method to create a DataSet.
report creation example:
ReportingService2005 rs = new ReportingService2005();
rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
FileStream fileStream = File.OpenRead(Path.Combine(folderPath, fileInfo.Name));
byte[] bytes = new byte[fileStream.Length];
int x = fileStream.Read(bytes, 0, bytes.Length);
string reportName = Path.GetFileNameWithoutExtension(fileInfo.Name);
rs.CreateReport(reportName, "/reports", true, bytes, null);
thanks in advance b
source
share