How should this be done. I have several ASMX pages properly set up with web service attributes. From a seperate application, I can easily call these with JQuery with no issues. However, each example I see for calling one of these using the Microsoft Ajax
controls seems to require that the asmx page be in the same project/application as the client calling it. Is it possible using the Microsoft Ajax controls to call an asmx web service in another application? If so, how is that done?
jgelinas33
Member
1 Points
5 Posts
Calling ASMX web service from javascript
Feb 15, 2013 05:14 PM|LINK
How should this be done. I have several ASMX pages properly set up with web service attributes. From a seperate application, I can easily call these with JQuery with no issues. However, each example I see for calling one of these using the Microsoft Ajax controls seems to require that the asmx page be in the same project/application as the client calling it. Is it possible using the Microsoft Ajax controls to call an asmx web service in another application? If so, how is that done?
Haixia Xie -...
Contributor
3030 Points
296 Posts
Microsoft
Re: Calling ASMX web service from javascript
Feb 20, 2013 07:38 AM|LINK
deleted
Feedback to us
Develop and promote your apps in Windows Store
kgbshnik
Member
290 Points
57 Posts
Re: Calling ASMX web service from javascript
Feb 21, 2013 09:37 PM|LINK
These guys explain it pretty good.
http://www.codeproject.com/Articles/14610/Calling-Web-Services-from-HTML-Pages-using-JavaScr
Hope it helps.
Nico_He
Member
114 Points
27 Posts
Re: Calling ASMX web service from javascript
Feb 27, 2013 09:22 AM|LINK
You need publish the service and try.
http://www.codeproject.com/Articles/28042/Calling-a-Web-Service-from-an-HTML-page-using-AJAX