Good Morning Daniel- I'll re-post the solution that I provided for Ken yesterday 1)First and foremost Go LOCAL! in other words place ALL of your files locally instead of xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" use "xmlns:soap=file://fu/bar/fubar/"
instead of xmlns:tns="http://www.edp.co.uk/ws/PAF/" use "xmlns:tns=file://fubar/fubar" instead of xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ use "xmlns:wsdl=file://fubar/ Now once all your local servers ARE proved to be operational you can migrate to different servers "xmlns:wsdl=file://FuBarServerIPAddress:/FuBarFolder This step will enable you to write/implement code which will ascertain connection metrics more specifically: -Can you connect Y/N? -How long does client wait for connection ..how are you determining this? -Is server piece you have implemented smart enough to starve a connection resource based on some criteria (which the client identified) -This solution will be hopefully multithreaded solution Once all these scenarios have been determined to be operational then allow webserver/appserver to take over and server-publish / client-consume XML on HTTP Port I hope this helps, Martin-- ********************************************************************* This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Daniel Zhang" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, April 07, 2006 10:26 AM Subject: Re: Monitor progress of an AXIS SOAP request and response over http transport > 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 >> > >
