1.

Give an example of working for a Web Service Provider.

Answer»

using System; using System.Web.Services; using System.Xml.Serialization; [WebService(NAMESPACE="http://localhost/MyWebServices/")] public CLASS FirstService : WebService { [WebMethod] public int ADD(int a, int b) { return a + b; } [WebMethod] public String SAYHELLO() { return "Hello WORLD"; } }



Discussion

No Comment Found