This is used to call the Web Service using ASP.Net and Script Manager. Must be inserted in .aspx page.
<asp:ScriptManager runat=”server” ID=”scriptManager”>
<asp:ServiceReference path=”WebService/TestService.asmx” />
This is the script to call the web service method and print the result on the form: Continue reading
Hi my post explains how to call web service frm java script using AJAX.
If the web service class on the server includes a web method that does not return data, you can call the web service without having to handle a response. This is the simplest web method call that can be made from the client. For example, your application has the following web method: