Client / Writing a GWS client application |
To protect against remote server failure or unavailability, set a timeout value that indicates how long you are willing to wait for the server to respond to your request.
Use the SetOption() method of the WebServiceEngine class to set the readwritetimeout option.
CALL com.WebServiceEngine.SetOption( "readwritetimeout", 10 )
A timeout value of -1 means "wait forever". This is the default value.