N
NBD
Hi,
I am getting a 'web service undefined' error when calling a web service from
Javascript which I've defined inside the ScriptManager tag like so:
<asj:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asj:ServiceReference Path="~/Services/MyWS.asmx" InlineScript
="True" />
</Services>
</asj:ScriptManager>
I'm calling the service from Javascript function like so:
function CallWS()
{
Namespace.MyWS.MyMethod(var);
}
The error message says that the class is 'undefined'. I've tried different
variations of namespaces and class names but no dice..
Any help is appreciated.
Thanks,
NBD
I am getting a 'web service undefined' error when calling a web service from
Javascript which I've defined inside the ScriptManager tag like so:
<asj:ScriptManager ID="ScriptManager1" runat="server">
<Services>
<asj:ServiceReference Path="~/Services/MyWS.asmx" InlineScript
="True" />
</Services>
</asj:ScriptManager>
I'm calling the service from Javascript function like so:
function CallWS()
{
Namespace.MyWS.MyMethod(var);
}
The error message says that the class is 'undefined'. I've tried different
variations of namespaces and class names but no dice..
Any help is appreciated.
Thanks,
NBD