关于ajax 1.0的一个问题?
今天遇到了一个问题,ajax 1.0如何调用其他站点的web服务?
找了半天得到了一个答案,在<asp:ServiceReference Path="http://localhost/service/ServerTime.asmx" /></Services> 这里配置的path属性document上解释的是:
高手们谁知道怎么解决这个问题?
找了半天得到了一个答案,在<asp:ServiceReference Path="http://localhost/service/ServerTime.asmx" /></Services> 这里配置的path属性document上解释的是:
The Path property can only point to local Web services. In other words, this property can only point to Web services in the same domain of your Microsoft ASP.NET AJAX application. Path can be a relative, application-relative, domain-relative, or absolute path.
天哪为什么是这样啊.为什么不能调用其他站点的服务啊.......高手们谁知道怎么解决这个问题?