You're using Axis 1.3, right? Go here to get Axis 1.3 source code: http://www.uniontransit.com/apache/ws/axis/1_3/ I suggest you download it and search through it yourself to see how the timeouts work.
I did a quick search and think that there are two timeouts on the clientside, one in the Stub class and one in the Call class. The Stub timeout is for all calls made on that Stub do get the same timeout value, while the Call timeout is a one shot deal, that particular web service call will get that particular timeout value that you set. I think then that which ever timeout you choose (Stub or Call), that timeout value is copied into the MessageContext and then the HttpSender will extract the timeout from MessageContext and use it to set the socket timeout value. I think this is essentially correct. (I don't know if Axis2 works the same way). Also, I think the value is in milliseconds, not seconds. Can anybody who knows Axis 1.3 better, please explain how timeouts on the clientside and serverside actually work? Thanks, -jeff -----Original Message----- From: Sez Sez [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 6:14 AM To: [email protected] Subject: Re: Timeout Request Problem I read in the forum this parameters for axis2.xml CONNECTION_TIMEOUT and SO_TIMEOUT This parameters is for server or client??? This parameters are applicable for Axis 1.3??? Thanks! Sergi ----- Mensaje original ---- De: "Walker, Jeff" <[EMAIL PROTECTED]> Para: [email protected] Enviado: jueves, 19 de julio, 2007 15:20:36 Asunto: RE: Timeout Request Problem I'm afraid I don't know the answer to your question. Try calling setTimeout() on the Call object, instead of the Stub, and see if you get the same behavior. In the worst case, you could create your own timer and run it for 30 seconds and then break the connection if you get no response, then throw an exception. It's a lousy solution, but would work. -jeff -----Original Message----- From: Sez Sez [mailto:[EMAIL PROTECTED] Sent: Thursday, July 19, 2007 8:09 AM To: [email protected] Subject: Re: Timeout Request Problem Some idea please??? It's a big problem that i don't found solucition. It's possible that the axis client don't have timeout when server read the request and don't response? It's very danger this! Some idea??? ----- Mensaje original ---- De: Sez Sez <[EMAIL PROTECTED]> Para: [email protected] Enviado: miércoles, 18 de julio, 2007 20:09:47 Asunto: Re: Timeout Request Problem Ok. I try to explain me better. We create a project to connect to webservice. This is publicated by a Provider. So, we only create the client side. We test our project against this provider. Out client have setTimeout(30000). The problem is when provider read de request and don't response. Later 10 minutes we have a exception. We want that the client abort the communication with server, when the server don't response in 30 seconds. We want that axis timeout break the comunication. We have the client in our container, and we can change properties, but we cann't change the provider server properties. Some idea??? Thanks!!! ----- Mensaje original ---- De: "Walker, Jeff" <[EMAIL PROTECTED]> Para: [email protected] Enviado: jueves, 12 de julio, 2007 14:56:54 Asunto: RE: Timeout Request Problem Are you running in a container? The 10 mins may be some sort fo default http response timeout in your container, or http server. Can you give us more information, such as, the exact layout of what your doing? I believe the setTimeout(30000) is for the clientside, not the server side. It is how long the client will wait for a response before giving up. But I think the serverside can also have a timeout, else it drops back to the default timeout (which I suspect is the 10 mins your seeing). (Not sure why the client didn't timoeut at 30000ms first). This is just a guess.. -jeff -----Original Message----- From: Sez Sez [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 3:56 AM To: [email protected] Subject: Re: Timeout Request Problem Hi! Somebody can helps me?? I don't found information in your mailing list. It's a big problem, because we only are the client of this webservice and it's a big problem 10 of timeout. Thanks! Sergi ----- Mensaje original ---- De: Sez Sez <[EMAIL PROTECTED]> Para: [email protected] Enviado: martes, 10 de julio, 2007 12:15:45 Asunto: Timeout Request Problem Hi people! I am working with Axis 1.3. I am testing timeouts with my project. I tried to send a request to unknow Ip. Axis response timeout correct, in 30 seconds. I defined setTimeout(30000); in the Stub Class. But, I write a small server, that read all request and it doesn't response never. I run my application with axis, and the timeout was 10 minutes! Where can I change this request timeout??? Thanks! Sergi ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
