B2B Integration : Trading Networks Built-In Services Reference : Mime Folder : Summary of Elements in this Folder : wm.tn.mime:getMimeHeader
wm.tn.mime:getMimeHeader
Retrieves the list of message headers from a specified MIME object.
Input Parameters
mimeData
Object The MIME object for which you want to retrieve the list of message headers.
Output Parameters
mimeHeader
Document The retrieved message headers. Key names represent the names of the header fields. The values of the keys represent the values of the header fields.
For example, if the original message contained the following header fields:
Content-Type: text/xml
X-Doctype: RFQ
X-Severity: 0
This service returns the following IS document (IData object):
*For key Content-Type, the value returned is text/html.
*For key X-Doctype, the value returned is RFQ.
*For key X-Severity, the value returned is 0.
Usage Notes
This service is not compatible with those in the pub.mime folder. The MIME objects that the pub.mime:createMimeData service creates will not work with this service.
Copyright © 2016- 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback