<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="WebService.asmx" />
</Services>
</asp:ScriptManager>
<script type="text/javascript">
WebService.GetUpdate("hhh",OnComplete, OnTimeout, OnError);
</script>
this code is working fine, but when I change the Path to an external webservices, it give me an error, the class name is not defined. can someone help me out, thanks the changed one is
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asp:ServiceReference Path="http://mysite/WebService.asmx" />
</Services>
</asp:ScriptManager>
<script type="text/javascript">
WebService.GetUpdate("hhh",OnComplete, OnTimeout, OnError);
</script>