Xpode.com        Click here to Print this article.

Can a web service has two methods of same name

Yes, it can be. Check the example below.

       [WebMethod(MessageName = "AddInt")] 
public int Add(int a, int b)
{
return (a + b);
}
[WebMethod(MessageName = "AddFloat")]
public float Add(float a, float b)
{
return (a + b);
}






Contributed by:
Guest
Guest user is that user who have done some activity on website without login. Activity contains commenting on any article, uploading an image on website etc.

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=157

Click here to go on website