Introduction Most application have their own webservice act as a API call for other services. In .NET we can use Web Reference in development environment and .net will automatically generate webservice method in development environment. BUT ins some scenario, you cannot add Web Reference in your solution project. Hence this post is a solution for your problem. Code Behind This code behind can call from method, or button event, or can create class. string result = ""; StreamReader resStream = null; HttpWebResponse response = null; try { //set webservice address HttpWebRequest request = (HttpWebRequest)WebRequest.Create("<web service address>"); //set webservice method name request.Headers.Add("SOAPAction", "http://tempuri.org/" + "<web service method>"); request.ContentType = "text/xml;charset=\"utf...