com.WebServiceEngine methods

Methods for the com.WebServiceEngine class.

Table 1. Class methods
Name Description
com.WebServiceEngine.Flush()
  RETURNS INTEGER
Forces the Web Service engine to immediately flush the response of the web service operation.
com.WebServiceEngine.GetHTTPServiceRequest(
   timeout INTEGER)
  RETURNS com.HTTPServiceRequest
Get a handle for an incoming HTTP service request.
com.WebServiceEngine.GetOption(
   option STRING )
  RETURNS STRING
Returns the value of a Web Service engine option.
com.WebServiceEngine.HandleRequest(
   timeout INTEGER,
   status RECORD  )
  RETURNS com.HTTPServiceRequest
Wait for an HTTP input request to process an operation of one of the registered SOAP or REST Web Services, or return an HTTPServiceRequest to handle a low-level request not registered at all.
com.WebServiceEngine.ProcessServices(
   timeout INTEGER )
  RETURNS INTEGER
Wait for an HTTP input request to process an operation of one of the registered SOAP or REST Web Services.
com.WebServiceEngine.RegisterService(
   ws com.WebService )
Registers a service in the engine.
com.WebServiceEngine.RegisterRestService(
   module STRING 
   basePath STRING )
Registers a REST service in the engine.
com.WebServiceEngine.SetFaultCode(
   code STRING,
   ns STRING )
Get a handle for an incoming HTTP service request.
com.WebServiceEngine.SetFaultDetail(
   fault RECORD )
Defines the published SOAP Fault.
com.WebServiceEngine.SetFaultString(
   str STRING )
Defines the description of a SOAP Fault.
com.WebServiceEngine.SetOption(
   optionName STRING,
   optionValue STRING )
Sets an option for the Web Service engine.
com.WebServiceEngine.SetRestError(
   code INTEGER
   error RECORD )
Manages error handling for a REST high-level Web Service function.
com.WebServiceEngine.Start()
Starts the Web Service engine.