Hi,
The XAML code looks like this on the client side.
The configuration for the service looks like this on the server side.
I know the Report works because I created an aspx page and I was able to see it using the Web Report Viewer, but not through WCF.
<UserControl x:Class="ROPComposite.Report.Telerik_Report.TelerikReportView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:reportViewer="clr-namespace:Telerik.ReportViewer.Silverlight;assembly=Telerik.ReportViewer.Silverlight"
xmlns:telerikNav="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
xmlns:telerikControls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
xmlns:telerikPrimitives ="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input">
<Grid x:Name="LayoutRoot" Background="White">
<reportViewer:ReportViewer x:Name="xReportViewer"
ReportServiceUri="http://127.0.0.1:81/Service/ReportService.svc"
Report="ReportLibrary.AllPatients, ReportLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
</reportViewer:ReportViewer>
</Grid>
</UserControl>
The configuration for the service looks like this on the server side.
<behavior name="ReportServiceBehavior">
<dataContractSerializer maxItemsInObjectGraph="10000000"/>
<serviceMetadata httpGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="false"/>
<useRequestHeadersForMetadataAddress>
<defaultPorts>
<add scheme="http" port="81"/>
<add scheme="https" port="444"/>
</defaultPorts>
</useRequestHeadersForMetadataAddress>
</behavior>
... <endpointBehaviors>
<behavior name="WebBehavior">
<webHttp/>
</behavior>
</endpointBehaviors>
... <service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="ReportServiceBehavior">
<endpoint address="" binding="basicHttpBinding" contract="Telerik.Reporting.Service.IReportService">
<identity>
<dns value="localhost"/>
</identity>
</endpoint>
<endpoint address="resources" binding="webHttpBinding" behaviorConfiguration="WebBehavior" contract="Telerik.Reporting.Service.IResourceService"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
I know the Report works because I created an aspx page and I was able to see it using the Web Report Viewer, but not through WCF.
On the Reporting documentation ( http://www.telerik.com/help/reporting/silverlight-hosting-in-iis.html ) on how to Host a WCF Service for reports, I don't understand how Service class (ReportService.svc) knows what library the reports are. Just by adding a reference to the library containing the reports, is that all I need to do?
I would appreciate all the help I can get.