4
Answers

Trouble in calling functions written in web service in .net


0down votefavorite

My application contains web service in which there are various web methods written. They were working fine previously.But now somehow those web methods are not called.This web service is included in Other folder and I am giving an ajax call to functions. The application works perfectly fine at local end but giving error after hosting it on plesk. Will be thankful if any appropriate solution is given. Thanks in advance.

Answers (4)
0
nishigandha bidkar

nishigandha bidkar

NA 31 960 7y
it is showing following error
  POST http://jjmcoe.akronsystems.com/Common.asmx/GetStudDetails 401 (Unauthorized) 
0
Midhun T P

Midhun T P

NA 19.7k 281.1k 7y
Hi,
 
Are you calling method through jquery ajax. If then, please check your browser console for errors.
0
nishigandha bidkar

nishigandha bidkar

NA 31 960 7y
I am not getting any error.. but function is not called.. I have given an error alert which is executed if function is not called. So currently I am getting that alert message.
 
0
Midhun T P

Midhun T P

NA 19.7k 281.1k 7y
Hi,
 
Can u please specify what is the error message you are getting while calling your webservice method through ajax?