WinJS WCF呼叫无法正常工作 [英] WinjS WCF is call is not working

查看:63
本文介绍了WinJS WCF呼叫无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

WinJS.xhr调用托管在同一域中的其他计算机上的WCF服务无法正常工作。但是相同的代码可以与localhost   URL一起使用。我们可以通过不同机器上的IE浏览WCF。


错误信息:

 XMLHttpRequest:网络错误



解决方案

你可以通过托管服务(或类似的合同,没有真正的重复)来重现这个实施)我们可以看到互联网上的某个地方?


干杯,

Caio Proiete


 


WinJS.xhr call to WCF service hosted in a different machine in same domain is not working . But the same code working fine with localhost  URL . We can browse the WCF via IE which is in a different machine.

Error message : 

XMLHttpRequest: Network Error


解决方案

Can you reproduce this by hosting the service (or a similar contract with no real implementation) somewhere on the Internet that we can see?

Cheers,
Caio Proiete

 


这篇关于WinJS WCF呼叫无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆