| Author |
Axis1.2RC2 - set timeout doubt
|
Ramya Iyer
Ranch Hand
Joined: Jul 29, 2003
Posts: 66
|
|
This sets the timeout for establishing connection or to get back the response from the webservice? If time to establish is 3 seconds, will it wait for 12 seconds for response before timing out or will it wait for 12 seconds? Regards, Ramya.
|
 |
Travis Hein
Ranch Hand
Joined: Jun 06, 2006
Posts: 161
|
|
Yes, the API documents are 'clear' on that . Call.setTimeout() populates the timeout property in org.apache.axis.MessageContext. The (axis-1.4) API documents seem to say this is a maximum amount of time to wait, so that if a reply comes in before this maximum threshold has expired, then the method would not block for the remainder of the unused timeout. /** * Maximum amount of time to wait on a request, in milliseconds. */ private int timeout = Constants.DEFAULT_MESSAGE_TIMEOUT; where DEFAULT_MESSAGE_TIMEOUT is 10 minutes. public static final int DEFAULT_MESSAGE_TIMEOUT=60*1000*10;
|
Error: Keyboard not attached. Press F1 to continue.
|
 |
 |
|
|
subject: Axis1.2RC2 - set timeout doubt
|
|
|