Hi,
If that web service is along with your project or solution, You don't want add as a web service reference / sevice reference to your project.
Example you can use webservice,
1. using Ajaxtoolkit
<asp:AutoCompleteExtender ID="txtSearchPanel_AutoCompleteExtender" runat="server"
ServiceMethod="GetCompletionList_Popup" ServicePath="~/AutoComplete.asmx"
2. using javascript
<script language="JavaScript">
init(){
service.useService("http://localhost/CursoAspNetWebService/Service1.asmx?WSDL",_
"Service1");
}
function tst(){
iCallID = service.Service1.callService("Suma",ip1.value,ip2.value);
}
function onmyresult(){
service.innerHTML= "Resultado : " + event.result.value;
}
</script>
<body onLoad="init();">
<button onclick="javascript:tst()" ID="Button1">Call Add Web Method</button>
<div id="service" style="BEHAVIOR:url(webservice.htc)" onresult="onmyresult();">
</div>
</body>