Skip to main content

EnsLib.EDI.XML.Operation.FileOperation

class EnsLib.EDI.XML.Operation.FileOperation extends EnsLib.EDI.XML.Operation.Standard

BusinessOperation class for writing XML messages to a file. Works with XML messages of type EnsLib.EDI.XML.Document.

Property Inventory

Method Inventory

Parameters

parameter ADAPTER = EnsLib.File.OutboundAdapter;
Inherited description: The type of adapter used to communicate with external systems
parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
parameter SETTINGS = Filename;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property Filename as %String (MAXLEN = 1000, MINLEN = 1) [ InitialExpression = "%f_%Q%!+(_a)" , Required ];
Name of file to output the document(s) to. May include timestamp specifiers. The %f specifier if present will be replaced with the name of the document's original source stream. (stripped of characters illegal in filenames).

See the method Ens.Util.File.CreateTimestamp() for documentation of timestamping options.

Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()

Methods

method OnMessage(pRequest As EnsLib.EDI.XML.Document, Output pResponse As EnsLib.EDI.XML.Document) as %Status
Inherited description: This is the default message handler. All request types not declared in the message map are delivered here

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab