Barry, The data is actually written and read in org.apache.soap.util.net.HTTPUtils#post. You will find that the outoging data is written to the stream in just two buffers, one containing the HTTP request and HTTP headers, and the other containing the full payload. You would need to change this code to write data in chunks in a loop and call some method to update the status.
Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Barry White" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 06, 2003 4:41 AM Subject: upload progress (bytes sent) > Hi, > > I've built a web services client with Apache SOAP 2.3.1 which is used for > uploading images. I would like to be able to track the number of bytes sent > for a progress bar but have not found a way of doing this. It is a > university project so I am still quite new to Java and SOAP. > > I have looked through the classes and some of the sources too and have > found no clues, or just got lost! I guess I need access to the output > stream. Can anyone tell me if this is possible (it's always possible!) and > if so maybe give me some pointers. > > Thanks in advance, > > Barry > > >
