How To: Call a web service from ajax

Posted by Kolten on Stack Overflow See other posts from Stack Overflow or by Kolten
Published on 2010-06-08T22:38:48Z Indexed on 2010/06/08 22:42 UTC
Read the original article Hit count: 189

Filed under:
|
|
|

I have a simple Web Service that send email and is called via:

public bool SendMail(string format, string from, string to, string cc, string bcc, string subject, string body, string replyTo)

I have never used ajax before, and find I need to call this service and pass form contents to it from a simple html page (I cannot use asp or asp.net unfortunately).

Can I get a quick rundown of what is required? I have searched for simple examples, but find I am having difficulty understanding how to call it and pass the parameters required of the Web Service.

Thanks all!

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about email