com.TcpRequest.getResponse
Returns the response after performing a TCP request.
Syntax
getResponse()
RETURNS com.TcpResponse
Usage
The getResponse()
method returns a TCP response as a com.TcpResponse
object, after a call to
doRequest()
, doXmlRequest()
, doTextRequest()
, or beginXmlRequest() /
endXmlRequest()
calls.
A call to this method will stop the program flow until the response is received.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).
The int_flag variable is checked during GWS API call to handle program interruptions, for more details, see Interruption handling in GWS calls (int_flag)