calling web service using javascript [modified]
-
Hello Friend! I want to call a web service from java script. the web service exits in different solution i.e., java script and web service are in different project/solution. the following code i use . . . Server Time the script file i.e.,CallWebServiceMethods.js function GetTime() { WebService.GetServerTime(SucceededCallback); } when i execute the program a java script error occurs- 'WebService' is undefined. if web service is in same solution, then it executes correctly please help me
modified on Thursday, April 24, 2008 6:10 AM
-
Hello Friend! I want to call a web service from java script. the web service exits in different solution i.e., java script and web service are in different project/solution. the following code i use . . . Server Time the script file i.e.,CallWebServiceMethods.js function GetTime() { WebService.GetServerTime(SucceededCallback); } when i execute the program a java script error occurs- 'WebService' is undefined. if web service is in same solution, then it executes correctly please help me
modified on Thursday, April 24, 2008 6:10 AM
Is this the same you are looking for? Calling webservice from javascript[^]
.....
-
Is this the same you are looking for? Calling webservice from javascript[^]
.....
:rose: thank you the code is working, but if the web method returns any dataset then how can i bind the dataset to data grid