com.WebService.CreateWebService

Creates a new object to implement a Web Service.

Syntax

com.WebService.CreateWebService(
   name STRING,
   namespace STRING )
  RETURNING result com.WebService
  1. name is the Web Service identifier.
  2. namespace is the name space for the Web Service name.

Usage

The com.WebService.CreateWebService() class method creates a new com.WebService object implementing a Web Service.

The name and namespace must uniquely identify the Web Service across the entire application, when multiple Web Service programs run on the same server. In theory, namespace+name must be unique on the internet.

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