This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

EnsLib.ebXML.Service.AbstractService

abstract class EnsLib.ebXML.Service.AbstractService extends EnsLib.ebXML.Service.AbstractServiceDelegate

An abstract service to handle ebXML requests

Property Inventory

Method Inventory

Parameters

parameter SERVICEDELEGATE = EnsLib.ebXML.Service.AbstractServiceDelegate;
parameter SETTINGS = DefaultTarget,Timeout,ServiceDelegateClass;
Settings

Properties

property DefaultTarget as Ens.DataType.ConfigNameTemplate;
Target to route inbound ebXML messages to To route based on header properties, use something like: MHS-${Headers(MessageHeader).To.PartyId(1).content}
Property methods: DefaultTargetDisplayToLogical(), DefaultTargetGet(), DefaultTargetIsCanonical(), DefaultTargetIsValid(), DefaultTargetLogicalToDisplay(), DefaultTargetLogicalToOdbc(), DefaultTargetNormalize(), DefaultTargetParseConfigNameSpec(), DefaultTargetReplaceWithObjectProperties(), DefaultTargetSet()
property ServiceDelegate as EnsLib.ebXML.Service.AbstractServiceDelegate [ InitialExpression = $this ];
Property methods: ServiceDelegateClassDisplayToLogical(), ServiceDelegateClassGet(), ServiceDelegateClassIsValid(), ServiceDelegateClassLogicalToDisplay(), ServiceDelegateClassLogicalToOdbc(), ServiceDelegateClassNormalize(), ServiceDelegateClassSet(), ServiceDelegateGet(), ServiceDelegateGetSwizzled(), ServiceDelegateIsValid(), ServiceDelegateNewObject(), ServiceDelegateSet()
property ServiceDelegateClass as Ens.DataType.Class (EXTENDS = "EnsLib.ebXML.Service.AbstractServiceDelegate");
Name of a class that implements the EnsLib.ebXML.Operation.AbstractOperationDelegate interface that we can call to do routing
Property methods: ServiceDelegateClassDisplayToLogical(), ServiceDelegateClassGet(), ServiceDelegateClassIsValid(), ServiceDelegateClassLogicalToDisplay(), ServiceDelegateClassLogicalToOdbc(), ServiceDelegateClassNormalize(), ServiceDelegateClassSet()
property Timeout as %Integer [ InitialExpression = 25 ];
Timeout for dispatch (so we don't hold up the HTTP service too long or hang up a production shutdown)
Property methods: TimeoutDisplayToLogical(), TimeoutGet(), TimeoutIsValid(), TimeoutLogicalToDisplay(), TimeoutNormalize(), TimeoutSet()

Methods

method OnInit() as %Status
This user callback method is called just after %OnNew()
method OnProcessInput(pInput As %RegisteredObject, Output pOutput As %RegisteredObject, ByRef pHint As %String) as %Status
Authors of BusinessService implements this method to receive incoming data
method ProcessResponseToRemoteMHS(pSender As %RegisteredObject, pRequest As EnsLib.ebXML.Message, ByRef pResponse As EnsLib.ebXML.Message, ByRef pStatus As %Status) as %Status
Inherited description: TODO: Override this method to customize the handling of the response to be sent to the remote MHS (if any)
method RouteMessageToTargetProcessWithTimeout(pSender As %RegisteredObject, ByRef pMessage As EnsLib.ebXML.Message, pHint As %String, ByRef pTarget As %String, ByRef pTimeout As %Integer) as %Status
Inherited description: TODO: Override this method to determine the Target (i.e. URL) and Action when sending this message

Inherited Members

Inherited Methods

Subclasses

Feedback