Class WebServiceDataSource
Represents web service data to data items.
Inherited Members
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public class WebServiceDataSource : DataSource, INamedObject, ICloneable, IEquatableDataSource, 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
|