com.WebService.publishOperation

Publishes a Web Operation.

Syntax

publishOperation(
   operation com.WebOperation,
   role STRING )
  1. operation is the Web Operation object.
  2. role identifies uniquely the Web Operation.

Usage

The publishOperation() method publishes the Web Operation specified by the com.WebOperation object passed as parameter.

The role identifies the operation, if several operations have the same name.

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.