Set the connection timeout for a service

A default connection timeout value is set, but you can configure the value at runtime, if required.

To change the default timeout value to establish a connection to the service, set the record member ConnectionTimeout with the timeout value in seconds. The ConnectionTimeout is a maximum time to establish the connection.

If the server is not available, you can get the response sooner than ConnectionTimeout. The ConnectionTimeout also avoids indefinitely waiting for a response when a server is reachable but not responding to requests.

Example:
LET Calculator_CalculatorPortTypeEndpoint.Binding.ConnectionTimeout = 15