Hello friends,
i have solved this issue...
please see my code for SUm method..
Dim xmlhttp
Dim DataToSend
DataToSend="Val1="&Request.Form("text1")&"&Val2="&Request.Form("text2")
Dim postUrl
postUrl = "http://100.10.10.149/webservice/Service1.asmx/Sum"
Set xmlhttp = server.Createobject("MSXML2.XMLHTTP")
xmlhttp.Open "POST",postUrl,false
xmlhttp.setRequestHeader "Content-Type","application/x-www-form-urlencoded"
xmlhttp.send DataToSend
Response.Write(xmlhttp.responseText)
and the main thing is below code needs to add in webservice's web.confg file.
<webservices>
<protocols>
<add name="HttpGet" />
<add name="HttpPost" />
</protocols>
</webservices>
Thanks for all replys... :)