• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class WebServiceDataSource

Represents web service data to data items.

Inheritance
System.Object
DataSource
WebServiceDataSource
Inherited Members
DataSource.ICloneable.Clone()
DataSource.Name
DataSource.CalculatedFields
DataSource.IDataSource.Name
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll

Syntax

public class WebServiceDataSource : DataSource, INamedObject, ICloneable, ISimpleDataSource, IDataSource, IWebServiceRequestSettings

Constructors

WebServiceDataSource()

Initializes a new instance of the WebServiceDataSource class.

Declaration
public WebServiceDataSource()

Properties

Authentication

Gets or sets the authentication object.

Declaration
public WebServiceAuthentication Authentication { get; set; }
Property Value
WebServiceAuthentication

Body

Gets or sets the body of the POST method.

Declaration
public string Body { get; set; }
Property Value
System.String

DataEncoding

Gets or sets the data encoding. Default is UTF-8.

Declaration
public Encoding DataEncoding { get; set; }
Property Value
System.Text.Encoding

DataFormat

Gets or sets the expected data format of the response.

Declaration
public WebServiceResponseFormat DataFormat { get; set; }
Property Value
WebServiceResponseFormat

DataSelector

Gets or sets the data selector expression which will be used to query and filter the data returned from the web service.

Declaration
public string DataSelector { get; set; }
Property Value
System.String

IgnoreResponseErrors

Gets or sets a value indicating whether to treats any response errors as if no data is returned from the web service.

Declaration
public bool IgnoreResponseErrors { get; set; }
Property Value
System.Boolean

Method

Gets or sets the HTTP request method.

Declaration
public WebServiceRequestMethod Method { get; set; }
Property Value
WebServiceRequestMethod

Parameters

Gets a collection of query parameters.

Declaration
public WebServiceParameterCollection Parameters { get; }
Property Value
WebServiceParameterCollection

RequestTimeout

Gets or sets the timespan in seconds to wait before the request times out. Default is 100 seconds. Set the timeout to 0 to configure an infinite timeout.

Declaration
public int RequestTimeout { get; set; }
Property Value
System.Int32

ServiceUrl

Gets or sets the URL of the request which is going to retrieve the data. Required if Source is not set.

Declaration
public string ServiceUrl { get; set; }
Property Value
System.String

Source

Gets or sets the local source of the data. Can be the data string itself or a URI where the data is located. Required if ServiceUrl is not set.

Declaration
public object Source { get; set; }
Property Value
System.Object

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Online Demos
Support Resources
  • Documentation
  • Knowledge Base
  • Videos
  • Reporting Samples Repository
  • Reporting Release History
Community
  • Forums
  • Blogs
  • Reporting Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.