This is a migrated thread and some comments may be shown as answers.

I want to inject a custom http header

1 Answer 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
William Lim
Top achievements
Rank 1
William Lim asked on 21 Oct 2011, 02:58 AM
I want to inject a custom http headers (e.g. AuthorizationHeader, etc) to every WCF request to ReportingService. I found out the IReportServiceClientFactory but how can I inject headers here.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 25 Oct 2011, 04:51 PM
Hello Chris,

To set http headers from the Silverlight service client you can check the Set WCF header from Silverlight forum thread. To create a custom ReportServiceClient you can refer to the following help article: link.

To set http header from the WCF service, please check the How to add a custom header to every WCF calls? thread in stackoverflow and if necessary you can create a new ReportService based on the ReportServiceBase class.

Greetings,
Steve
the Telerik team

Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

Tags
General Discussions
Asked by
William Lim
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or