timeout

Type: Integer

The timeout property of the JadeWebServiceConsumer class contains the number of milliseconds after which a Web service consumer session times out if no SOAP message is received from the Web service provider.

The timeout value remains active until you reset the value in your application for that transient instance of the Web service consumer object. For details about setting and getting timeout values for connect, send, and receive messages, see the getTimeouts and setTimeouts methods.

If you do not set this property, the request times out after two minutes (that is, 120,000 milliseconds).

When you 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.

You can control the length of time that the JADE Web service consumer waits for the response by using the JadeWebServiceConsumer class setTimeouts method.