Class FinXmlOrder
Handles orders in XML format based on the FinTransmogrifier.
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinXmlOrder : FinOrder
Remarks
The XML syntax description required to transmogrify the HIRMS segment is already hard coded in this class and thus must not be supplied by the client application.
Constructors
FinXmlOrder(XmlElement, FinTransmogrifier, FinTransmogrifier)
Declaration
public FinXmlOrder(XmlElement xmlOrderSegment, FinTransmogrifier aOrderTransmogrifier, FinTransmogrifier aResponseTransmogrifier)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlElement | xmlOrderSegment | The order in XML format. |
FinTransmogrifier | aOrderTransmogrifier | A FinTransmogrifier instance that is capable of transmogrifying the given XML order into a FinSegment. |
FinTransmogrifier | aResponseTransmogrifier | Optional FinTransmogrifier instance that is capable of transmogrifying any response segments of this order to XML. If this type of order does not receive any response data segments, then this can be null. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The xmlOrderSegment parameter or the aOrderTransmogrifier parameter was
|
FinTransmogrifierException | The order segment could not be transmogrified. |
Properties
ResponseXml
Provides the complete response data including the status in XML format.
Declaration
public XmlDocument ResponseXml { get; }
Property Value
Type | Description |
---|---|
System.Xml.XmlDocument |
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The FinOrder was not Executed, yet. Thus no response data can exist. |
Methods
OnExecuteComplete(FinDialog)
If the order was executed, this method converts the response data into XML.
Declaration
protected override void OnExecuteComplete(FinDialog aDialog)
Parameters
Type | Name | Description |
---|---|---|
FinDialog | aDialog |