访问php rest时出现Silverlight SecurityException

访问php rest时出现Silverlight SecurityException,php,silverlight,rest,Php,Silverlight,Rest,我正试图使用silverlight在不同的服务器上访问php rest服务,但每次我都这样做 request.EndGetResponse(ar) as HttpWebResponse; 它抛出了一个SecurityException。你知道我如何解决这个问题吗?看看: 还可以尝试在php站点的clientaccesspolicy.xml中添加语句 如有疑问,请运行fiddler,以便查看web调用的确切顺序

我正试图使用silverlight在不同的服务器上访问php rest服务,但每次我都这样做

request.EndGetResponse(ar) as HttpWebResponse;
它抛出了一个SecurityException。你知道我如何解决这个问题吗?

看看:

还可以尝试在php站点的clientaccesspolicy.xml中添加
语句

如有疑问,请运行fiddler,以便查看web调用的确切顺序