EDIData Type
The EDI payload of the AS2 message.
Remarks
The EDI payload of the AS2 message.
Fields
Data String |
This field contains the EDI payload of the transmission. In a receiver, this field will only be populated if IncomingDirectory and OutputStream have not been specified and ParseRequest finishes without an error, setting ScanResult to 0. If so, Data will contain the full decrypted text of the EDI message. |
DataB Byte[] |
This field contains the EDI payload of the transmission. In a receiver, this field will only be populated if IncomingDirectory and OutputStream have not been specified and ParseRequest finishes without an error, setting ScanResult to 0. If so, Data will contain the full decrypted text of the EDI message. |
EDIType String |
The Content-Type of the EDI message. Sample values might be "application/edi-x12", "application/edifact" or "application/xml". |
Filename String |
In a sender, if Filename is specified, the file specified will be used for the EDI payload of the transmission. Name will be populated with the name of the file. In a receiver, when IncomingDirectory is set, this will be populated with the absolute path of the file which contains the processed message contents. Note: When OutputStream is set, the data will be written to the stream and this field will not be populated. |
InputStream System.IO.Stream |
In a sender, if InputStream is specified, the data from the specified stream will be used for the EDI payload of the transmission. |
Name String |
Name is the final name to be associated with the contents of either the Data or FileName fields. This corresponds to the filename attribute of the Content-Disposition header for the EDI payload. When constructing EDI data to be sent, Name will be set to the same value as FileName, but can be overridden after setting FileName to indicate that another name should be used in the outbound request's Content-Disposition MIME header. When receiving EDI data, Name will be read out of the "filename" attribute of the inbound request's Content-Disposition MIME header. |
OutputStream System.IO.Stream |
In a receiver, if this field is set, the EDI payload will be written to this stream if ParseRequest finishes without an error, setting ScanResult to 0. If so, the specified stream will contain the full decrypted text of the EDI message. NOTE: When OutputStream is used and the underlying data contains attachments, the attachments will not be decoded to the output stream. Attachments are accessible via the Attachments collection. |