Silverlight PollingDuplexHttpBinding 和跨域问题

发布于 2024-07-21 05:47:00 字数 380 浏览 9 评论 0原文

我创建了一个 silverlight 组件和一个 WCF 服务,两者都使用 PollingDuplexHttpBinding 进行通信以启用推和拉功能。

在我们的域中工作得很好,但是,我们域外的主机完全不会调用公开的 Web 服务。

clientaccesspolicy 文件可以从根目录下载,我什至添加了一个跨域文件。 因此,从服务器 A 到服务器 B(A 和 B 在同一域中),我看到来自 silverlight 客户端(在 FireBug 中)的 post 请求,在 A 和 C 之间(其中 C 是外部服务器),没有调用,甚至没有调用客户端访问策略文件。

PollingDuplexHttpBinding 和跨域是否仍然可能(找不到任何相关内容)或者还有其他我可以看的东西吗?

I created a silverlight component and a WCF service, both are communicating using a PollingDuplexHttpBinding to enable push and pull functionality.

Works perfectly in our domain, however, a host outside our domain makes completly no calls to the webservice which is publicly exposed.

clientaccesspolicy file is available and downloadable from the root, I even added a crossdomain file. So from server A to server B (A and B in same domain) I see the post requests from the silverlight client (in FireBug), between from A and C (where C is an external server), there no calls, even not to the clientaccesspolicy file.

Is a PollingDuplexHttpBinding and cross domain still posible (cannot find anything about this) or is there something else I can look at?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文