The WebOperation class / com.WebOperation methods |
Creates a new Web Operation object with Document style.
com.WebOperation.CreateDOCStyle( function STRING, operation STRING, input RECORD, output RECORD) RETURNING result com.WebOperation
This method creates a Request-Response Document 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. 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).