Integration Server 10.15 | Built-In Services Reference Guide | Flow Folder | Summary of Elements in this Folder | pub.flow:getTransportInfo
 
pub.flow:getTransportInfo
WmPublic. Retrieves information about the protocol from which the current service was invoked.
Input Parameters
None.
Output Parameters
transport
Document Information about the protocol that invoked the service. The structure of this document is defined by pub.flow:transportInfo.
Usage Notes
The pub.flow:getTransportInfo service can be used to retrieve protocol information for a top-level service only. A top-level service is one that is invoked by a client request or a trigger.
The value of the protocol key in transport indicates which protocol was used to invoked the top-level service. For example, if the service was invoked through SMTP, protocol would be set to email. transport will also contain a document (whose key is protocol-dependent) that holds protocol-specific details.
To use this service, first check the value of the transport/protocol parameter to determine which protocol was used. Then, depending on the value of protocol, extract the appropriate protocol information from transport. See pub.flow:transportInfo for the structure of the document that holds the protocol details.