Created
November 10, 2009 01:07
-
-
Save migueldeicaza/230514 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ WebService Language="c#" Codebehind="TestService.asmx.cs" Class="WebServiceTests.TestService" %> | |
using System; | |
using System.Web.Services; | |
using System.Web.Services.Protocols; | |
namespace WebServiceTests | |
{ | |
public class TestService : System.Web.Services.WebService | |
{ | |
[WebMethod] | |
public string Echo (string a) | |
{ | |
object b = null; | |
return b.ToString (); | |
} | |
[WebMethod] | |
public int Add (int a, int b) | |
{ | |
return a + b; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment