Hi,
i want to get a crystal report to my .net application,that is saved in crystal management console(cmc) .i'm using webservices to get reports from cmc.
I can able to access the webservice and its displaying all the methods which its contain.but when i try to get report information its returning count = 0
here is my
private ArrayList GetReports()
{
serverFileReport = new ServerFileReport();
serverFileReport.ReportPath = "";
serverFileReport.WebServiceUrl = "http://mt-sscsa1/crystalreportviewers115/ServerFileReportService.asmx";
reportManagerRequest = new ReportManagerRequest();
reportManagerRequest.ExtraData = serverFileReport.GetExtraData();
reportManagerRequest.ParentUri = serverFileReport.ToUri();
serverFileReportManagerProxy = new ServerFileReportManagerProxy();
serverFileReportManagerProxy.Url = "http://mt-sscsa1/crystalreportviewers115/ServerFileReportManager.asmx";
ReportManagerResponse reportManagerResponse = new ReportManagerResponse();
reportManagerResponse = serverFileReportManagerProxy.ListChildObjects(reportManagerRequest);
ArrayList remoteReports = new ArrayList();
foreach (string reportUriString in reportManagerResponse.ReportUris)
{
serverFileReport = new ServerFileReport();
serverFileReport = ServerFileReport.FromUri(reportUriString);
if (serverFileReport.ObjectType == EnumServerFileType.REPORT)
{
remoteReports.Add(reportUriString);
}
}
return remoteReports;
}
basically i want to get a report by reportid from cmc to my .net application.please tell me where i'm going wrong.
Thanks in advance
Gopi