1、添加web引用
http://server/reportserver/ReportService2005.asmx?wsdl
需要用户名密码
2、// 获取服务器报表列表
View Code
ReportingServices.ReportingService2005 rs = new CnkiStat.ReportingServices.ReportingService2005();
//rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Credentials = new System.Net.NetworkCredential("username", "password");
string folder = "/CnkiReports";
ReportingServices.CatalogItem[] reportItems = rs.ListChildren(folder, true
//rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
rs.Credentials = new System.Net.NetworkCredential("username", "password");
string folder = "/CnkiReports";
ReportingServices.CatalogItem[] reportItems = rs.ListChildren(folder, true