Right click on the Invoice.rpt file in the Solution Explorer.
Select "Publish as web service" from the pop-up menu.
An InvoiceReport.asmx file will be added to the project. This file
contains a class called InvoiceService that inherits from ReportServiceBase.
Right click on the InvoiceService.asmx file select "Set as Start
Page" from the pop-up menu.
Delete the Service.asmx and Service.cs file from the project.
Run the project by pressing F5. You'll be prompted to turn debugging
on. Select "Modify the Web.config file to enable debugging." and
click the OK button.
Your browser should display the methods available for your Invoice
Click on the TestReport link at the bottom of the page.
Click the Invoke button. A new window will open and you should see the
XML that the web service produces.
this new window.
back to the original page with the list of methods for the service by clicking
the "Click here for a complete list of operations." at the top of the
this project running and go to step 4.