Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

SOAP.BaseService

abstract class SOAP.BaseService extends %SOAP.WebService

SOAP.BaseService is the base class for all sample web services. SOAP.BaseService illustrates moving error handling for all services into a common base class. Currently SOAP.Demo is the only sample web service.

Method Inventory

Parameters

parameter NAMESPACE = http://tempuri.org;
Namespace. Each web service needs to supply this parameter.
parameter SERVICENAME = SOAPBase;
This is the name of our web service. Each web service needs to supply this parameter.

Methods

classmethod ApplicationError(code As %String, error As %String, detail As %String = "")
Create our own method to produce application specific SOAP faults.
classmethod OnInternalFault(fault As %SOAP.Fault, status As %Status)
Override to fix the fault for our needs. The OnInternalFault method will be called for all internal Cache errors after the default Cache fault has been created.
classmethod StatusError(code As %String, status As %Status)
Application specific error based on status code

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab