1.
Right click on the Invoice.rpt file in the Solution Explorer.
2.
Select "Publish as web service" from the pop-up menu.
3.
An InvoiceReport.asmx file will be added to the project. This file
contains a class called InvoiceService that inherits from ReportServiceBase.
4.
Right click on the InvoiceService.asmx file select "Set as Start
Page" from the pop-up menu.
5.
Delete the Service.asmx and Service.cs file from the project.
6.
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.
7.
Your browser should display the methods available for your Invoice
service.

8.
Click on the TestReport link at the bottom of the page.

9.
Click the Invoke button. A new window will open and you should see the
XML that the web service produces.
10. Close
this new window.
11. Navigate
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
page.
12. Leave
this project running and go to step 4.