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. Web Services with large response data sets...

Web Services with large response data sets...

Scheduled Pinned Locked Moved Web Development
wcfxmldatabasesysadmintutorial
1 Posts 1 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.
  • J Offline
    J Offline
    JasonSmith
    wrote on last edited by
    #1

    Let's say you are doing a query, and it returns a zillion rows. I would like to be able to process rows ad-infinitum, until I say "Stop." With Web Services, everything is wrapped inside a SOAP envelope. That is, it is a single chunk of information. I have to pass the whole SOAP document before any of it can be translated on the client. Right? I read something about buffered and non-buffered Web Service methods, but don't you have to have the whole XML SOAP document before you can begin processing it? What I would like to do is (A) send a request to run a query, and (B) get back maybe 50 rows at a time, each in a self contained SOAP document. The server would keep pushing out rows until I dropped the connection. Is this sort of thing even possible with Web Services? I know you can do this with the Web Services SP2 Technology Preview using SOAP messaging over TCP. In that case, it is pretty trivial. You just pump the data out in packets over the TCP link and translate on the client. But unless I am mistaken, using SOAP over TCP is not really a bonafide Web Service. I'd really like to know if anyone knows how to do this sort of thing with a Web Service. Or is this like trying to raise server events from HTTP: "You can't get there from here." Thanks.

    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