0

I have an application accessible from Forefront UAG (reverse proxy), which calls a WCF service. Running the application without the proxy, it works well, but from the proxy, the application can't get the clientaccesspolicy.xml and crossdomain.xml files.

I used fiddler and find this :enter image description here

Does somebody knows how a solution ? Thanks in advance.

Alexis Mathieu
  • 683
  • 5
  • 12
  • Just one point... Never use `crossdomain.xml` if you can publish `clientaccesspolicy.xml`. You don't need it. It only exists as a compatibility feature for older websites that supported flash. – iCollect.it Ltd Aug 06 '12 at 12:50
  • Thank for the advice, but why a request is send to get it is it isn't required ? – Alexis Mathieu Aug 06 '12 at 13:50
  • If Silverlight does not first find `clientaccesspolicy.xml` it will then look for the fallback (`crossdomain.xml`)... Once you fix your proxy problem you will only see a request for `clientaccesspolicy.xml` with a success return. – iCollect.it Ltd Aug 06 '12 at 14:17
  • Sorry to ask so many questions, but Fiddler tells me that the request to crossdomain.xml has been send before the clientaccesspolicy.xml request. I'll take a look once my problem is fixed you're right ! – Alexis Mathieu Aug 06 '12 at 14:30
  • Another thing that I don't understand : Fiddler finds those requests to clientaccesspolicy and crossdomain when I browse the application from one machine, but while running the same app with another machine, there's no request sent to get those files...! – Alexis Mathieu Aug 08 '12 at 08:01
  • The other machine may have cached them in the browser if it has succeeded on that machine... – iCollect.it Ltd Aug 08 '12 at 08:05
  • I have deleted all temporary files and cleared the cache, using IE and CCleaner, restart Fiddler and the application, but still no request to those files using the other machine :( – Alexis Mathieu Aug 08 '12 at 08:21
  • Just checking here, but are they actually trying to do "cross domain" in that instance? Or is the app on the same domain as the resources? If on the same domain there is no request for the cross domain files (no point really) – iCollect.it Ltd Aug 08 '12 at 11:10
  • The application itself is hosted in something like myWebSite.mySubDomain.myDomain.com/myApplication and the service is hosted on the same server. Browsing the app this way, it works well. But as a extranet application in the Forefront UAG, something like https://myExtranet.myDomain.com, it doesn't work, and the request shown above failed. – Alexis Mathieu Aug 08 '12 at 11:14

0 Answers0