com.TCPRequest.getResponse

Returns the response after performing a TCP request.

Syntax

getResponse()
  RETURNING response 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 methid will stop the program flow until the response is received.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.