locked
Calling ASMX web service from javascript RRS feed

  • Question

  • User-1713431732 posted

    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?

    Friday, February 15, 2013 1:14 PM

All replies

  • User-1000095884 posted

    deleted

    Wednesday, February 20, 2013 3:38 AM
  • User-1144788673 posted

    These guys explain it pretty good.

    http://www.codeproject.com/Articles/14610/Calling-Web-Services-from-HTML-Pages-using-JavaScr

    Hope it helps.

    Thursday, February 21, 2013 5:37 PM
  • User-1658256289 posted

    You need publish the service and try.

    http://www.codeproject.com/Articles/28042/Calling-a-Web-Service-from-an-HTML-page-using-AJAX

    Wednesday, February 27, 2013 5:22 AM