com.WebOperation.CreateOneWayDOCStyle
Creates a new Web Operation object with One-Way Document style.
Syntax
com.WebOperation.CreateOneWayDOCStyle(
function STRING,
operation STRING,
inputVar RECORD )
RETURNS com.WebOperation
- function defines the program function to be called to process the XML operation.
- operation defines the XML operation.
- inputVar defines the variable
defining the input parameters of the operation (or
NULLif there is none).
Usage
This method creates a One-Way DOC 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.
There is no output parameter to be returned to the client.
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).