Hybrid Integration 10.1 | Integrating On-Premises Applications | Integration Server Built-In Services | MIME Folder | pub.mime:getMimeHeader
 
pub.mime:getMimeHeader
WmPublic. Returns the list of message headers from a specified MIME object.
Input Parameters
mimeData
Document MIME object whose message headers you want to retrieve. (This IData object is produced by pub.mime:createMimeData.)
Output Parameters
mimeHeader
Document Conditional. An IData object containing the message headers. Key names represent the names of the header fields. The value of a key represents the value of the header fields.
For example, if the original message contained the following message header fields:
Message-ID: <002e01c0f150$6f33010a@sgx.com>
From: "Purch01@GSX.com" <Purch01@GSX.com>To:
<EXPEst@exprint.com>
MIME-Version: 1.0
Content-Type: text/xml
X-Doctype: RFQ
X-Severity: 0
getMimeHeader would return the following:
Key
Value
Message-ID
<002e01c0f150$6f33010a@sgx.com>
From
"Purch01@GSX.com" <Purch01@GSX.com>
To
<EXPEst@exprint.com>
MIME-Version
1.0
Content-Type
text/xml
X-Doctype
RFQ
X-Severity
0
Usage Notes
This service operates on the MIME object (mimeData) produced by pub.mime:createMimeData.
For general information about MIME messages and using the MIME services, see the MIME-S/MIME Developer’s Guide.
See Also
pub.mime:createMimeData
pub.mime:addMimeHeader
pub.mime:getBodyPartHeader

Copyright © 2015- 2017 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.