Example

For the GET > Source setting in an input card, select MIME. In the GET > Source > Command field, enter:


-DECODE -SESSION SMIME(-U 1121 -PW cat12 -UE  1121@foo.com ) -T+ 
-TRANSPORT ' HTTP (-URL  http://myurl.com  -METHOD GET)'

This command specifies that:

  • the input stream is MIME and therefore should be decoded (-DECODE)
  • if the data contains SMIME encrypted or signed data, the session defined by the -SESSION command should be used
  • the adapter trace should be appended to the m4mime.mtr file
  • the data passed to the MIME Adapter originates from the transport adapter (HTTP) by getting the document from the URL http://myurl.com. See the Encoding and Decoding Data section in the Resource Adapters documentation for more information on the -TRANSPORT command.

    The MIME Adapter can only be used in an input card if it is chained with a transport adapter.