2. add Service Reference... in service manager
function Bt1_OnClick()
{
MyAjaxService.SayHello("Kurniawan",OnComplete,OnError);
}
function OnComplete(result)
{
alert("OnComplete : " + result);
}
function OnError(result)
{
alert("OnError : " + result._message);
}
No comments:
Post a Comment