开发者

Call webservice through JavaScript

开发者 https://www.devze.com 2022-12-16 04:10 出处:网络
I am calling websevice through javascript by using SOAPClient and its working in Internet Explorer But not working in Firefox.

I am calling websevice through javascript by using SOAPClient and its working in Internet Explorer But not working in Firefox.

Actually Its working in firefox also when a webservice within same folder or same project.

开发者_StackOverflow中文版

But it not working in firefox if the webservice is not within same project.

For Internet Explorer it works in both the cases.


May be Cross-site HTTP requests issue?


i've also found that if you're using a .net webservice and it's running on the test/debug server instead of the real iis server, explorer's xmlhttprequest will accept answers, but firefox and safari's won't. (does the port count in the cross-site issue??)

0

精彩评论

暂无评论...
验证码 换一张
取 消