c# - Calling a service via Ajax Request -
i trying yo make call service it's not finding reason , think because not calling right way:
how can add response possible error?, better idea.. getting call failed because have in both functions:
function successfunc(response) { if (200 == response.status) { alert("call success"); } } function failurefunc(response) { alert("call failed"); }
in order clients accessing web service through ajax, have add attribute declaration web service:
[system.web.script.services.scriptservice()] you can read more @ scriptserviceattribute class
Comments
Post a Comment