You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Call methods of a proxy class to perform reporting operations on the report server. Web service methods have public access and require appropriate arguments.
ms.date
09/25/2024
ms.service
reporting-services
ms.subservice
report-server-web-service
ms.topic
reference
ms.custom
updatefrequency5
helpviewer_keywords
Web service [Reporting Services], SOAP
Web service [Reporting Services], calls
calling Web service
Report Server Web service, SOAP
XML Web service [Reporting Services], calls
Report Server Web service, calls
XML Web service [Reporting Services], SOAP
SOAP [Reporting Services], calls
Calling Web Service Methods
When you use a [!INCLUDEmsCoName] [!INCLUDEdnprdnshort] proxy class to call Web service operations, you do so by using the methods of that class. These methods respond like any other method of a class in the [!INCLUDEdnprdnshort] class library. All Web service methods have public access and require you to supply the appropriate number of arguments and argument types. After you have created an instance of the proxy class in your project, you can call the methods to perform reporting operations via the report server. The following C# code illustrates the use of the xref:ReportService2010.ReportingService2010.ListChildren%2A method of the xref:ReportService2010.ReportingService2010 proxy class. The code is used to make a recursive call to the Web service that returns an array of xref:ReportService2010.CatalogItem objects that contains a list of all items in the report server database: