473,320 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Ways to consume a WebService returning a large dataset

Hello,

I'm consuming webservice which returns a large dataset.

- 1st step was a synchronous call.
- 2nd step was making it asynchronous with this method
(http://www.xamlon.com/kb/Article.aspx?id=10157)

My problem is that the Callback is fired only at the end of the dataset
transfer, and i have no way to know the progress of the transfer.

Do you have an idea how to read the dataset result from the webservice
and beeing able to display the progress 'in real time' ?
Regards,
Cybertof.
Nov 17 '05 #1
1 4712
Try and implement it in its simplest form which is to submit an HTTP
GET/POST and stream the XML into a variable which can later be used to
populate an XmlDocument for parsing. All of this of course can happen in a
worker thread and as you read from the stream you can lock your code to
update a progress bar.

"Cybertof" <cy************@ifrance.com> wrote in message
news:MP************************@news.wanadoo.fr...
Hello,

I'm consuming webservice which returns a large dataset.

- 1st step was a synchronous call.
- 2nd step was making it asynchronous with this method
(http://www.xamlon.com/kb/Article.aspx?id=10157)

My problem is that the Callback is fired only at the end of the dataset
transfer, and i have no way to know the progress of the transfer.

Do you have an idea how to read the dataset result from the webservice
and beeing able to display the progress 'in real time' ?
Regards,
Cybertof.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Programatix | last post by:
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be...
8
by: Programatix | last post by:
Hi, I'm working on a project which includes XML WebServices and Windows Form application. The Windows Form application will call the XML WebServices to retrieve data from database. The data...
1
by: Joseph Abreu | last post by:
I've got a webservice returning a typed dataset -- I've got a client app with one library that downloads and writes the dataset to the harddisk and another library that later opens the dataset. ...
10
by: ad | last post by:
I want to use WebServer to receive a DataSet from Client with internet. The DataSet is some bigger, there are 50 fields and about 50000 rows in it. Is it OK to do so? Will DotFrameWork or IIS...
2
by: kai | last post by:
Hi, All I have following Webservice code rom a book, it works well, it returns a dataset contains customerOrderHis base on CustomerID. But I cannot display the returning dataset in datagrid. ...
1
by: John Young | last post by:
Hi, I have a strange problem with returning a dataset from a webservice. Here's some code... The error I get at compile time is. "Cannot convert type 'void' to 'System.Data.DataSet'" Can...
5
by: Stacey Levine | last post by:
I have a webservice that I wanted to return an ArrayList..Well the service compiles and runs when I have the output defined as ArrayList, but the WSDL defines the output as an Object so I was...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
7
by: sameer | last post by:
Hi all, Application environment : VB.Net desktop application,.NET 1.1 Framework, VS 2003. communicates between the database and the application is done over webservices using ADO.NEt Datasets....
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.