Skip to Content
0
Former Member
Dec 08, 2006 at 10:21 PM

Using Web Services on the Crystal Report Server XI to return reports

237 Views

Hi,

I'm trying to setup for the first time a Crystal Reports Server XI R2 and put a couple of reports onto the server. This is so I can access the reports on the crystal reports server using using the crystal web services and finally display the reports in an ASP.NET web application.

So far I have installed the server, created a couple of reports, put them on the server, and tested to see that I can access the reports using the Central Management Console. This all works fine and the reports are returned.

Ok, now for the bit that's not working.

I've got a C# ASP.NET web application, and I've followed a couple of http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crtsktutorialsotherdynamicpulldownwebservicehelpermethod.htm" target="_blank" title="Adding a Helper Method to Access Crystal Reports Web Services">tutorials to give me an idea of what I should be doing to use the Web Services that are provided:

  • ServerFileReportManager.asmx
  • ServerFileReportService.asmx

However, it appears that when I list the child objects on the crystal server:

serverFileReport = new ServerFileReport();
serverFileReport.ReportPath = "";

reportManagerRequest = new ReportManagerRequest();
reportManagerRequest.ExtraData = serverFileReport.GetExtraData();
reportManagerRequest.ParentUri = serverFileReport.ToUri();

ReportManagerResponse
reportManagerResponse = new ReportManagerResponse();
reportManagerResponse = serverFileReportManagerProxy.ListChildObjects(reportManagerRequest);

I always get a reportManagerResponse.ReportUris with a count of 0. Now the thing is I know that I have a couple of reports on the Crystal Server, but for some reason they're not been picked up. I must be missing something.

Does anyone have any ideas??? Please!

Many thanks in advance,
Chris

Current Set-up:

  • Crystal Reports Server XI R2 (11.5)
  • Virtual Directory of the web services: crystalreportviewers115
  • (Physical Path - C:\Program Files\Business Objects\common\3.5\crystalreportviewers115)
  • Development Environment: Visual Studio 2005