Class Reference
EnsLib.XML.Object.Service.Standard
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [EnsLib] >  [XML] >  [Object] >  [Service] >  [Standard]
Private  Storage

abstract class EnsLib.XML.Object.Service.Standard extends Ens.BusinessService

EnsLib.XML.Object.Service.Standard is the base service class for services which read an XML document and then use %XML.Reader to convert the document to a set of persistent classes.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5 5


Summary

This is a Business Service class.

Properties
%AlertStartTime %ConfigName %ConfigQueueName
%LastActionTime %LastHandledTime %LastReportedError
%OutsideCreated %PreserveSession %ProcessInputCalled
%QuitTask %RequestHeader %SessionId
%SuperSession %SuperSessionCreatedBeforeSession %WaitForNextCallInterval
%WarnedLatest %isShadow Adapter
AlertGracePeriod AlertGroups AlertOnError
ArchiveIO BusinessPartner ClassName
ElementName Format GenerateSuperSessionID
IOLogEntry IgnoreNull InactivityTimeout
TargetConfigNames ThrottleDelay

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry EnumerateSettingsClose EnumerateSettingsExecute
EnumerateSettingsFetch ForceSessionId GenerateSuperSession GetDeferredResponseToken
GetMsgHdrRequestKey GetProductionSettingValue GetProductionSettings GetPropertyConnections
GetSettings GetShadowInstance NewIOLogEntry OnError
OnGenerateSuperSession OnGetConnections OnInit OnKeepalive
OnMonitor OnProcessInput OnProductionStart OnProductionStop
OnTearDown PopulateSuperSession QueueName SaveIOLogEntry
SendAlert SendDeferredResponse SendRequestAsync SendRequestSync
SetProperties

Subclasses
EnsLib.XML.Object.Service.FTPService EnsLib.XML.Object.Service.FileService

Parameters

• parameter SETTINGS = "TargetConfigNames:Basic:selector?multiSelect=1&context={Ens.ContextSearch/ProductionItems?targets=1&productionName=@productionId},ClassName:Basic:selector?context={%ZEN.Portal.ContextSearch/Classes?super=%XML.Adaptor&classtype=persistent&system=0&internal=0},ElementName:Basic,Format:Basic,IgnoreNull:Basic";
List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

• property ClassName as %String;
The name of the class to correlate to the entire XML document or element in the XML document.
• property ElementName as %String;
The name of the element to correlate in the XML document. The element must correspond to the specified ClassName. If there are multiple occurences of this element, then a separate message will be sent to the target for each matching element. If no element name is specified, then the root element will be correlated to the class.
• property Format as %String(VALUELIST=",literal,encoded,encoded12") [ InitialExpression = "literal" ];
The format of the XML document: "literal", "encoded" or "encoded12". This parameter may be overriden by the Open... format parameter.
• property IgnoreNull as %Boolean [ InitialExpression = 0 ];
The runtime specification of the XMLIGNORENULL parameter to %XML.Adaptor. IgnoreNull specifies the value of XMLIGNORENULL at runtime as either 0 or 1.
• property TargetConfigNames as %String(MAXLEN=1000);
Configuration items to which to send Documents

Methods

• classmethod OnGetConnections(Output pArray As %String, pItem As Ens.Config.Item)
Return an array of connections for drawing lines on the config diagram
• method OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
• method SetProperties(pReader As %XML.Reader)
Set the needed %XML.Reader properties. This method may be overridden to add or change which proeprties are to be set.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.