com.WebServices methods

Methods for the com.WebService class.

Table 1. Class methods
Name Description
com.WebService.CreateWebService(
   name STRING,
   namespace STRING )
  RETURNING result com.WebService
Creates a new object to implement a Web Service.
com.WebService.CreateStatefulWebService(
   name STRING,
   namespace STRING,
   state state-type )
  RETURNING result com.WebService
Creates a new object to implement a stateful Web Service.
Table 2. Object methods
Name Description
setComment(
   comment STRING )
Defines the comment for the Web Service object.
publishOperation(
   operation com.WebOperation,
   role STRING )
Publishes a Web Operation.
saveWSDL(
   location STRING )
  RETURNING result INTEGER
Writes to a file the WSDL corresponding to the Web Service object.
generateWSDL(
   location STRING )
  RETURNING result xml.DomDocument
Creates a xml.DomDocument object with the WSDL corresponding to the Web Service object.
createHeader(
   header header-type,
   encoded BOOLEAN )
Defines the header for the Web Service object.
createFault(
   fault fault-type,
   encoded BOOLEAN )
Creates a new object to implement a Web Service.
registerWSDLHandler(
   funcname STRING )
Registers the function to be executed when a WSDL is generated.
registerInputRequestHandler(
   funcname STRING )
Registers the function to be executed on incoming SOAP requests.
registerOutputRequestHandler(
   funcname STRING )
Registers the function to be executed just before the SOAP response is forwarded to the client.
registerInputHTTPVariable(
   http-in http-in-type )
Registers the record variable for HTTP input.
registerOutputHTTPVariable(
   http-out http-out-type )
Registers the record variable for HTTP output.
setFeature(
   name STRING,
   value STRING )
Defines a feature for the current Web Service object.
registerInputHTTPVariable(
   http-in http-in-type )
Registers the record variable for HTTP input.
registerOutputHTTPVariable(
   http-out http-out-type )
Registers the record variable for HTTP output.