Go Back   CodingForums.com > :: Server side development > ASP.NET

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-16-2010, 09:04 AM   PM User | #1
Fenriz
New to the CF scene

 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Fenriz is an unknown quantity at this point
Consuming .asmx service

Hello,

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.
Fenriz is offline   Reply With Quote
Old 11-17-2010, 08:51 AM   PM User | #2
pigpen
Regular Coder

 
Join Date: Dec 2007
Posts: 137
Thanks: 1
Thanked 21 Times in 21 Posts
pigpen is on a distinguished road
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:
http://forums.asp.net/t/1302025.aspx

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.
pigpen is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:42 PM.


Advertisement
Log in to turn off these ads.