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:
- 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. - 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. - 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 Features. For more information about calling the methods, see Calling Web Service Methods.
在此章節中
Topic | Description |
---|---|
Describes the ways to add a proxy class to your project using Microsoft .NET Framework. |
|
Describes how calls to the Report Server Web service are authenticated. |
|
Describes how to use the SOAP API to call Web service methods in Microsoft Visual Studio. |
|
Explains how to programmatically direct your Web service proxy to a new server URL after you have created your Web reference. |
|
Describes how to invoke a Web service method and supply method arguments. |
|
Describes how to omit values for optional Web service objects. |
|
Describes the SecureConnectionLevel setting and the way in which it affects the use of the Reporting Services SOAP API. |
|
Describes the device information settings that are used to render reports to different formats. |
|
Describes the settings that are used to deliver reports using report server e-mail. |
|
Explains the use of SOAP headers in Reporting Services. |
|
Provides information about the way in which Reporting Services handles errors. |
請參閱
參考
Reporting Services Web Services Class Library