I have a previously written client-server application(by another programmer). The client side is written with javascript. I need to write a new web service with ASP.net but I don’t know how to call web methods. My sitation is the same described here Call web service from javascript
but it doesn’t have a clear answer. (just says use WCF, I don’t know how to do it)
(note that my client is a totally different project from the server, suppose it is written in eclipse)
I want to know how I can call the HelloWorld method that is created by default in aa ASP.net web service, from a simple html code(including js)
Thanks,
Ela
refer the following links wish will provide you complete guide on how to call web service using JavaScript/Asp.net Ajax or jQuery.
http://cmsnsoftware.blogspot.com/2011/01/how-to-call-csharp-function-in-ajax.html
http://cmsnsoftware.blogspot.com/2011/02/how-to-use-ajax-auto-complete-in-aspnet.html
sample code