SAP Knowledge Base Article - Public

1206487 - How to add a Helper Method to Access Crystal Reports Web Services?

Symptom

 

How to add a Helper Method to access Crystal Reports Web Services?

Resolution

To create the Report Web Services required for Server Files:

  1. Start Visual Studio.
  2. From the File menu, select New, and then click Web Site.
  3. In the New Web Site dialog box, select the Visual C# from the Language list.
  4. From the Templates list, click ASP.NET Web Service
  5. In the Location field, replace the default project name with the name of your project.
    For the purposes of this example, we will save the project in C:\InetPub\wwwroot\ with the name CrystalReportsWebServices2005.
    C:\InetPub\wwwroot\CrystalReportsWebServices2005\
    Click OK.
  6. From the Debug menu, click Start Debugging.
    A dialog box appears and states that the Web.config file must be modified. Click the OK button to enable debugging.
    Once debugging is complete, return to the application.
  7. From the Solution Explorer, right-click Service.asmx, and then click Delete.
  8. In the Solution Explorer, expand the App_Code folder, right-click Service.cs, and then click Delete.
  9. In the Solution Explorer, right-click the project name that is in bold type, and then click Add New Item.
  10. In the Add New Item dialog box, do the following:
    From the Installed Templates field, select Web Service.
    In the Name field, enter ServerFileReportService.asmx
    Uncheck Place code in separate file.

Keywords

Helper Method Web Services , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

Product

SAP Crystal Reports, version for Visual Studio .NET 2005 ; SAP Crystal Reports, version for Visual Studio .NET 2008 ; SAP Crystal Reports, version for Visual Studio .NET 9.1