this occured when I called my WCF Service
as follows:
- hosted WCF Service in IIS in name 'testWCF'.
- web application name is 'webWCF'.
gave scriptreference as :"http://localhost/testWCF/mywcf.svc"
In JavaScript called the method 'GetSerivceCharge' as
var x = new thetest.Backoffice.IBackofficeService();
var y = x.GetSerivceCharge(res);
function res(result) {
alert(result);
}
it results as follows:
Microsoft JScript runtime error: Sys.Net.WebServiceFailedException: The server method 'GetSerivceCharge' failed with the following error: Not Found
Server Error in '/webWCF' Application.