Progress Bar for transfering a large amount of data to a Web Service.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: nk (nkz_at_discord.net)
Date: 03/02/04


Date: 2 Mar 2004 13:29:54 -0800

Hello all,

I have a windows forms app that uploads one or more files to a
webservice (as an array of bytes) I'm trying to put in a progress bar.
I've gotten the asynchronous calls working, but that doesn't let me
find out how much data has been transmitted. I've considered doing
callbacks or having a checkstatus webservice, but the problem is that
while the data is in transit, the webservice doesn't have control. By
the time the code in the service is actually running, the file is
already uploaded.

If i was reading the file from a stream and passing it to the
webservice, I could do the progressbar, but I don't think i can pass
a stream to a web service. I'm thinking the solution might have to do
with somehow hooking into the soap proxy....

Any ideas?

Thanks,
nkz



Relevant Pages

  • RE: Async Webservices and Polling!!
    ... It accesses the google webservice API and has a progress bar to show the progress of the webservice call. ... "Jay" wrote: ... > How do I make sure that Async WebService is done from the UI thread to ...
    (microsoft.public.dotnet.framework.compactframework)
  • RE: Async Webservices and Polling!!
    ... It accesses the google webservice API and has a progress bar to show the progress of the webservice call. ... "Jay" wrote: ... > How do I make sure that Async WebService is done from the UI thread to ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Async Webservice, State and progress.
    ... A webservice with 1 long running task ... The webservice keeps track of the progress of this task ... An aspx page that polls the webservice for this progress ... The Microsoft sample i mentioned does run the way it should, but only polls ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: .NET CF - Webservice - deserialize soap xmp stream
    ... Ziel war es nicht einen gezippten Stream abzuspeichern sondern manuell den ... letzten abgespeicherten webservice xml stream (der, ... Der proxy des Webservice deserialisiert ja automatisch ... "Frank Dzaebel" wrote: ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: WebService Problem
    ... > I am creating webservice DocManager to store documents.I have a method ... > where path is path of file on server and stream is stream of document. ... compile the client it gives compile time error ... > public void Uploadfile ...
    (microsoft.public.dotnet.framework.aspnet.webservices)