I have created a web service which is the default(HelloWorld) and added
nothing to it.
I want to see if I could consume it using asp.net 2.0 ajax
Here is the declarative code:
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="WebService.asmx" />
</Services>
</asp:ScriptManager>
<div>
<input id="Button1" onclick="GetMe()" type="button"
value="button" />
</div>
</form>
Here is the javascript code relating to the onclick above: