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

cross domain issue with telerik reporting services

3 Answers 129 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bi Chao
Top achievements
Rank 1
Bi Chao asked on 18 Mar 2011, 08:48 AM
Hi,

I have telerik reporting services configured in 2 website in my machine.  I can get the wsdl file from both website, but only one of the services is actually working.

The 2 urls are:
https://localhost/svxservices/solvexia.svx.server.services.ReportService.svc
and
https://localhost/client.application.Web/ReportService.svc

The url for the aspx page that host the silverlight viewer is https://localhost/client.application.web/CreateAuditDocumentForMultipleProcesses.asp

Does telerik report services have any cross domain restrictions?


Regards
Bill

3 Answers, 1 is accepted

Sort by
0
Hrisi
Telerik team
answered on 23 Mar 2011, 06:07 PM
Hello Bi Chao,

There is nothing special about WCF Report Service including cross-domain requests. Please, share more information about your applications (the supplied url's do not help). Are you looking at our Silverlight examples?

Best wishes,
Hrisi
the Telerik team
0
Bi Chao
Top achievements
Rank 1
answered on 23 Mar 2011, 11:40 PM
Hi,

Our scenario is our silverlight reporting client is trying to call the WCF services hosted in another website. We have a seperate project to host all the wcf services.  All services will be published to a application called services in IIS, which is different from the web application.  In client side, we have a single project which contain all the service clients so if theservices contract changed, we only need to update the services reference once at a single place.  

And we have crossdomain and client access policy in both website. I have attached them below. If you need anything else, please let me know.:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="http://*"/>
<domain uri="https://*" />
</allow-from>
<grant-to>
<resource include-subpaths="true" path="/"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
0
Hrisi
Telerik team
answered on 29 Mar 2011, 02:48 PM
Hello Bi Chao,

Our Silverlight Viewer cannot work with two WCF Report Services simultaneously. Its ReportServiceUri property should point to currently selected service. It is not obvious from your explanation, how you test these two services. If your Silverlight application can work with one instance of the report service but not with the other, you should double check the configuration and the differences between the two. The crossdomain access is not related to your problem.

Best wishes,
Hrisi
the Telerik team
Tags
General Discussions
Asked by
Bi Chao
Top achievements
Rank 1
Answers by
Hrisi
Telerik team
Bi Chao
Top achievements
Rank 1
Share this question
or