Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. reading data from .net web service using html

reading data from .net web service using html

Scheduled Pinned Locked Moved Web Development
csharpjavascripthtmlasp-netdatabase
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fu Manchu
    wrote on last edited by
    #1

    hi all, i have this crazy idea and now its got me stuck. Lets start from the beginning. i have a simple web page mixed with some javascript, but i need some data, lets say from a database of file. To solve this a created a .net web service that will, for arguments sake return "hello world!". Now how do i get it into my web page. The reason i've done it this way is because i can host the asp.net myself but provide only a few hours of coverage, but the web page will be hosted on linux system and will be on all the time. for example this goes straight to the service, but how do i change it to bring data back and display it

    this is a sample of the main web page:

    name="How do i get webservice data in here" document.forms[0].name.value=name there is however another way, if i could somehow activate the web service rather than going directly to it, then i could make the service create an xml file and read the data that way!, any suggestions on this would be greatly appreciated. thanks

    L 1 Reply Last reply
    0
    • F Fu Manchu

      hi all, i have this crazy idea and now its got me stuck. Lets start from the beginning. i have a simple web page mixed with some javascript, but i need some data, lets say from a database of file. To solve this a created a .net web service that will, for arguments sake return "hello world!". Now how do i get it into my web page. The reason i've done it this way is because i can host the asp.net myself but provide only a few hours of coverage, but the web page will be hosted on linux system and will be on all the time. for example this goes straight to the service, but how do i change it to bring data back and display it

      this is a sample of the main web page:

      name="How do i get webservice data in here" document.forms[0].name.value=name there is however another way, if i could somehow activate the web service rather than going directly to it, then i could make the service create an xml file and read the data that way!, any suggestions on this would be greatly appreciated. thanks

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      There are good tutorials here http://www.codeproject.com/soap/#Web+Services[^] and ASP.Net[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups