The WebService class / com.WebServices methods |
Publishes a Web Operation.
publishOperation( operation com.WebOperation, role STRING )
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, by setting the SOAPAction HTTP header. Usually this parameter is set to NULL.
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).