You can only call a web service using ajax if that web service is under the same domain as the web page with the ajax call in it. Your web service path is "http://localhost/testwebservice", which will only work if your default.aspx page is in the same domain, ie:http://localhost/testwebservice
See this thread for more details
http://forums.asp.net/thread/1639269.aspx
Bingo, solved!
ThanX!
No comments:
Post a Comment