Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step tutorials and online videos.

Click Here To Learn More »

18.01 Web Services

Creating reports as Report Web Services (RWS) enables you to deliver reports using SOAP via an HTTP protocol. There are no issues with worrying about the report being blocked by security or network constraints.

There are two parts to viewing reports as a web service. The first part is to build the web service application and publish the report. The second is creating an application that consumes the report. Fortunately, Visual Studio .NET makes creating and consuming web services almost trivial.

First create a new Web Services project using the Visual Studio IDE. Click on the menu options File > New > Web Site.



Figure 18-1. Create new web services project

Be careful to set the Location property to HTTP. This tells Visual Studio to update the IIS Settings so that the report is in the INetPub/WWWRoot folder and runs under LocalHost. If you use the File option, the URL uses a temporary URL each time the project runs and this can’t be referenced directly by another application. You...

Get UNLIMITED Crystal Reports Online Training!

Click Here To Start Your Training!

1500+ Tutorial Pages

Complete Crystal Reports Online Training with over 1,500 pages of better than book quality Crystal Reports tutorials.

Step-by-step Online Videos

Learn at your own pace from the comfort of your home! Pause, rewind and watch online training videos anytime!

Online Community

Members-only community where you can post and answer questions. The community is checked on a regular basis by best selling Crystal Reports book author Brian Bischof to help answer your questions.

Cut & Paste Source Code

Save time with simple cut and paste source code you can use right now in your next report!

Click Here To Start Your Training!