Home > Class Reference > ENSLIB namespace > EnsLib.ebXML.Service.AbstractService
Private  Storage   

EnsLib.ebXML.Service.AbstractService


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

An abstract service to handle ebXML requests

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4 5


Summary


Properties
DefaultTarget ServiceDelegate ServiceDelegateClass Timeout

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified
%OriginalNamespace %PackageName %RemoveFromSaveSet
%SerializeObject %SetModified %ValidateObject
InitializeDelegate OnInit OnProcessInput
ProcessResponseToRemoteMHS RouteMessageToTargetProcessWithTimeout

Subclasses
EnsLib.ebXML.Service.SOAPService

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 ServiceDelegate as EnsLib.ebXML.Service.AbstractServiceDelegate [ InitialExpression = $this ];
• 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 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)

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
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
TODO: Override this method to determine the Target (i.e. URL) and Action when sending this message