Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     

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);

Share this article   |    Print    |    Article read by 789 times
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.
Related Articles: No related article
Related Interview Questions: No related interview question