web service and ajax



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">
<asp:ServiceReference Path="WebService.asmx" />
<input id="Button1" onclick="GetMe()" type="button"
value="button" />

Here is the javascript code relating to the onclick above:


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question