Summary:
See also: The Genero Web Services COM Extension Library
The Web Service class provides an interface to create and manage Genero Web Services.
Note that status is set to zero after a successful method call.
com.WebService
Class Methods | |
Name | Description |
com.WebService.createWebService( STRING, STRING ) RETURNING com.WebService |
Creates a WebService object by providing the mandatory
name and namespace, which must be unique in the entire
application.
Throws an exception in case of errors, and updates status with an error code. |
Object Methods | |
Name | Description |
setComment(
STRING ) |
Adds a comment to a WebService; the comment will be
visible in the generated WSDL file.
Throws an exception in case of errors, and updates status with an error code. |
publishOperation( STRING ) |
Publishes a WebOperation named op. The role
identifies the operation if several operations have the same name.
Throws an exception in case of errors, and updates status with an error code. |
saveWSDL(
RETURNING status |
Saves the WSDL of the WebService to the file system; location is the URL where the service will be deployed. Status is 0 if the file was saved, -1 if there was an error. |
generateWSDL( RETURNING xml.DomDocument |
Returns a xml.DomDocument representing the WSDL of the
WebService;
location is the URL where the service will be deployed.
Throws an exception in case of errors, and updates status with an error code. |
createHeader( INTEGER ) |
Creates a global Header of the WebService; header is
any Variable defining the header, encoded specifies the encoding
mechanism, where TRUE indicates the
SOAP Section 5
encoding mechanism and FALSE the XML Schema
mechanism. Since Headers are always in Document Style, set the encoded
parameter to FALSE.
Throws an exception in case of errors, and updates status with an error code. |