setTimeouts
setTimeouts(connectTimeout: Integer; sendTimeout: Integer; receiveTimeout: Integer);
The setTimeouts method of the JadeWebServiceConsumer class sets the timeout values for connect, send, and receive messages, respectively.
By default, Web service consumer messages time out after 2 minutes (120,000 milliseconds).
Use the connectTimeout, sendTimeout, and receiveTimeout parameters to specify the respective number of milliseconds after which a Web service consumer session times out if no SOAP connect, send, or receive message is received from the Web service provider.
When specify the number of milliseconds after which control is regained if the remote server fails to respond and the specified time is exceeded, a JadeSOAPException (exception 11052) is raised and the body of the message states:
HTTP Error 12002 HTTP Send Request Failed
Error 12002 is a WinINET or WinHTTP error that indicates that the request has timed out.
See also the timeout property (which you can use to set all three message types to the same value) and the getTimeouts method.