View Full Version : Consuming .asmx service

11-16-2010, 10:04 AM

I have a HTML document and an .asmx service I would like to consume. The web service sends a "Hello World" message. How do I get the HTML to receive it?

Thank you for your help.

11-17-2010, 09:51 AM
Typically, you'll need some sort of scripting to consume it on your HTML page, like PHP or ASP.NET.

Alternatively, you could use JavaScript to consume it.

See this thread:

Maybe jQuery has some webservices consuming tutorials, which may be easier.

It also depends on your webservice. Are you sending your webservice requests in JSON or XML? That will depend on which solution you are after.