Process

Processes the input message and gets back the response message from the server.

Syntax

Function process(IRequest As Message) As Message 

Parameters

  • iRequest— the input message object that contains the "option" setting and the DataTable

Results

Returns the response message for the request.

Exceptions:

  • ERROR_NULL_INPUT_MESSAGE — Request message is null.

Example

Dim service As New G1CLIENTLib.service 
Dim replyMsg As G1CLIENTLib.Message 
...	
'Process the message and return back the response message 
Set replyMsg = service.process(requestMsg)