The WebService class / com.WebServices methods |
Registers the record variable for HTTP output.
registerOutputHTTPVariable( http-out http-out-type )
RECORD code INTEGER, desc STRING, headers DYNAMIC ARRAY OF RECORD name STRING, value STRING END RECORD END RECORD
The registerOutputHTTPVariable() method registers a program variable with a specific structure, that will be used to fill the HTTP response headers when a Web Operation is completed.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.