Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    Regular Coder
    Join Date
    Dec 2007
    Posts
    137
    Thanks
    1
    Thanked 21 Times in 21 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •