forum

home / developersection / forums / webservice method

WebService Method

Anonymous User 2549 17-Feb-2011
Hi,
I have created an ASP.net web service that contain a webmethod that return the string.
Like.
[WebMethod]
public string sample()
{
        calculate();
        return "This is sample one";
}
public int calculate()
{
        return 15;
}

I want to access calculate method from client, please let me know how to do it.
Thanks in advance!

Updated on 17-Feb-2011

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By