Skip to main content

suggestion

 server---

using System.Web.Services;

public string suggestion(string key)
        {
            if (String.Equals(key.ToLower(), "web services"))
                return "Web services are XML-based information exchange systems that use the Internet for direct application-to-application interactionWeb services are XML-based information exchange systems that use the Internet for direct application-to-application interaction";
            else if (String.Equals(key.ToLower(), "big data"))
                return "Big data is a term that describes large, hard-to-manage volumes of data – both structured and unstructured – that inundate businesses on a day-to-day basis";
            else
                return "No result found";
        }

client---

ServiceReference1.WebService1SoapClient obj = new ServiceReference1.WebService1SoapClient();
            string key = TextBox1.Text;
            Label2.Text = obj.suggestion(key);

Comments