The WebOperation class / com.WebOperation methods |
Creates a new Web Operation object with RPC style.
com.WebOperation.CreateRPCStyle( function STRING, operation STRING, input RECORD, output RECORD) RETURNING result com.WebOperation
This method creates a Request-Response RPC style com.WebOperation object, where function is the name of the program function that is executed to process the XML operation.
The function name must be a string literal, not a string variable, due to operation publication restrictions.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.