Hi, Wade:
Have you found a good solution of the data transferring progress for
Axis request/response? I am puzzled by this, too. I have a web service
using Axis 1.2 to send SOAP package with attachment to remote server.
When remote server is busy, the browser is just dangling there, and that
frustrates our users. So we need to display the progress status like 50%
data sending out, receiving response etc. I dig the Axis package and no
luck to found such API for this kind of task.
I think there are different levels of problem this process may
encounter. First is the remote server is down. Second the remote server
is too busy to establish a socket between client and server. Third the
remote server can accept data stream but the connection is bumpy. Maybe
more and more.
I wonder if any experts know a good solution for it.
Thanks a lot!
Daniel
Wade Chandler wrote:
--- "Grossberger, Guenter"
<[EMAIL PROTECTED]> wrote:
Hi!
I don't exactly get what you want to monitor. You
can watch the HTTP-Request and Response with the
TCPMonitor:
java org.apache.axis.utils.tcpmon <ListenPort>
<TargetHost> <TargetPort>
Of course, you have to set instruct your client to
send the request to <ListenPort> instead. If you're
running Axis on Tomcat with Eclipse you can set
breakpoints anywhere you like.
You can also use the logging for monitoring
purposes.
Best regards,
--
DI Günter Grossberger
Consultant Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9 GSM: +43 676 833 29 261
1030 Wien
http://www.softwareag.com/austria
-----Original Message-----
From: Wade Chandler
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 12, 2005 4:12 PM
To: [email protected]
Subject: Monitor progress of an AXIS SOAP request
and
response over http transport
I'm trying to find a way to monitor the SOAP
request
and response in AXIS. I'm using the HTTP
transport.
I don't see anything that will allow me to watch
the
progress of the entire process or even pieces. I
figured for an attachment upload I could wrap an
IO
stream and watch those leave out as the rest will
be
minimal as long as there is no caching is taking
place
and this would not be a true way to watch the
progress
of the outbound streams, but during a
response/retrieve I really don't see any way at
the
moment. I've been trying to dig around in the
AXIS
code, but my time line is pretty limited. Has
anyone
else come up with a working solution? I saw some
posts in the archive, but I have yet to see any
real
answers to the question other than wrapping IO
streams, but it still doesn't help with the
response
and any downloads of attachments.
Thanks and any input is appreciated,
Wade
By monitor progress I mean the progress of the sending
and receiving of bytes from one end to the other. I
want to be able to display good user feedback about
the progress of the outbound request and inbound
response. I'm using attachments, and I need to be
able to show the progress better than simply giving an
indefinite progress meter that says uploading or
downloading files and bounces back and forth. I was
wondering if anyone has any ideas they have working
now, or if anyone has some good ideas they might have
thought about on the topic.
Thanks for the input,
Wade