Show TOC

Defining Parameters for Message Protocol XIPAYLOADLocate this document in the navigation structure

Use

You make further entries for the message protocol XIPAYLOAD.

Procedure

Defining Mail Attributes

  1. If you want to put the entire e-mail including the header information (From, To, Subject) in the payload, select Use Mail Package.

    See the example below. The header information is included in an XML mail package format.

  2. Select the Content Encoding of the e-mail content:
    • None
    • base64
    • quoted-printable
  3. If you want to forward e-mail attachments in XI attachments, select Keep Attachments.

    You use the PayloadSwapBean module to replace the application payload with one of the attachments.

    See: PayloadSwapBean

Defining Security Parameters

  1. If you want to decrypt and validate encrypted and digitally signed e-mails in the corresponding sender agreement in the Integration Server or in the PCK, select S/MIME.

    More information: SAP NetWeaver Library under Function-Oriented View → Process Integration → Integration Directory → Defining Sender Agreements → Security Settings for the Sender MailAdapter

    Caution

    To do this, you must have set the Keep Attachmentsindicator.

    In addition, enter the following parameters and values in the table in Advanced Mode:

    XI.ReceiverParty

    XI.ReceiverService

    The values you enter here must match the values for Receiver Party and Receiver Service in the corresponding sender agreement.

  2. Specify the Persist Duration in days, hours, minutes, and seconds.

    This specification is not currently used, but will be used in the future for security archiving.

Defining Additional Parameters

  1. Under XI Parameters, enter the following:
    • Interface Namespace
    • Interface Name
  2. Under Quality of Service, specify how the message is to be processed by the Integration Engine/PCK.

    For Quality of Service Exactly Once in Order, enter the Queue Name.

    See: Quality of Service

Example

XI payload with mail package:

<?xml version="1.0" encoding="UTF-8"?>

<ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">

<Subject>Subject</Subject>

<From>namea@company.com</From>

<To>nameb@company.com</To>

<Reply_To />

<Content_Type>text/plain</Content_Type>

<Content>

This is the content.

</Content>

</ns:Mail>