WebServiceRetryTimeout

Top  Previous  Next

×V5.1Ø

S

A

W

WS

ü

Valid for: SetStartup & SetRuntime

 

Syntax -

       SetStartup WebServiceRetryTimeout <Delay>

               Where:

                       <Delay> is a numeric value.

 

Description:

This setting defines the maximum time in seconds that EMUE will wait before the script returns a "429 Too Many Requests" error.  The default timeout is 60 seconds.

This is designed for Soarian Financials Web Services. The number calls allowed from a client is limited by Cerner. If the service returns a 429 before the timeout is reached, EMUE will automatically slow down the requests and retry the call until it is successful or until the timeout has been reached. When the timeout expires, a script error will be returned. If the request is accepted by the service before the timeout expires, EMUE will gradually speed up the rate of requests up to a maximum defined by MaxWebServiceCallsPerMin

 

Sample:

       The following statement sets the WebServiceRetryTimeout option so that when a "429 Too Many Requests" error is returned from a web service, EMUE will slow the service call and retry for up to 30 seconds.

SetStartup WebServiceRetryTimeout 30

 

See Also:

MaxWebServiceCallsPerMin