axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Darveau (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2500) Second call to stub.setTimeout(timeout) does not really change the timeout
Date Wed, 14 Jun 2006 19:37:29 GMT
Second call to stub.setTimeout(timeout) does not really change the timeout
--------------------------------------------------------------------------

         Key: AXIS-2500
         URL: http://issues.apache.org/jira/browse/AXIS-2500
     Project: Apache Axis
        Type: Bug

  Components: Basic Architecture  
    Versions: 1.2.1    
 Environment: java full version "1.5.0_06-b05"
Windows XP
    Reporter: Manuel Darveau


A call to stub.setTimeout(timeout) set the timeout only the first time it is called. If you
change the timeout value between succesive call to the web-service, only the first timeout
is used.

The problem is that the timeout is passed to the SocketFactoryFactory.getFactory via attributes
but since that class cache the SocketFactory returned using the protocol and NOT the attributes,
the timeout is not updated in the SocketFactory.

For example, I want to be able to adjust the timeout between sucessive call to the web-service
since all method does not have the same typical return time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message