Delen via


Building Applications Using the Web Service and the .NET Framework

With the Microsoft .NET Framework, you can use familiar programming constructs, such as methods, primitive types, and user-defined complex types to work with Web services. The .NET Framework contains an infrastructure and tools you can use to create Web service clients that can call any World Wide Web Consortium (W3C) standards-compliant Web service.

A Report Server Web service client is any component or application that communicates with a report server using Simple Object Access Protocol (SOAP) messages.

To create a Report Server Web service client using the .NET Framework, follow these basic steps:

  1. Create a proxy class for the Web service.

    To do this, add a proxy class or Web reference to your development project, reference the proxy class in your client code, and create an instance of that proxy. For more information, see Creating the Web Service Proxy.

  2. Authenticate the Web service client with the report server.

    To do this, set the service object's Credentials property equal to the credentials of an authenticated user on the report server. For more information, see Web Service Authentication.

  3. Call the method of the proxy class corresponding to the Web service operation that you want to invoke.

    To do this, call a Web service method and supply the necessary arguments. For more information about the Web service methods, see Report Server Web Service Methods. For more information about calling, see Calling Web Service Methods.

In This Section

Topic

Description

Creating the Web Service Proxy

Describes the ways to add a proxy class to your project using Microsoft .NET Framework.

Web Service Authentication

Describes how calls to the Report Server Web service are authenticated.

Calling Web Service Methods

Describes how to use the SOAP API to call Web service methods in Microsoft Visual Studio.

Setting the Url Property of the Web Service

Explains how to programmatically direct your Web service proxy to a new server URL after you have created your Web reference.

Supplying Web Service Method Arguments

Describes how to invoke a Web service method and supply method arguments.

Omitting Values for Optional Web Service Objects

Describes how to omit values for optional Web service objects.

Using Secure Web Service Methods

Describes the SecureConnectionLevel setting and the way in which it affects the use of the Reporting Services SOAP API.

Reporting Services Device Information Settings

Describes the device information settings that are used to render reports to different formats.

Reporting Services Delivery Extension Settings

Describes the settings that are used to deliver reports using report server e-mail.

Using Reporting Services SOAP Headers

Explains the use of SOAP headers in Reporting Services.

Introducing Exception Handling in Reporting Services

Provides information about the way in which Reporting Services handles errors.