Enable Attachments for Outbound Message Definitions

You can enable attachments for outbound messages.

Here's what you need to do to enable attachments for outbound messages to be processed:

  1. Enable attachments in the XML message.

  2. Specify the attachment location for each message definition.

And here's what you need to do to enable attachments in the XML message:

  1. In the Setup and Maintenance work area, use the Manage Collaboration Messaging Configuration task:

    • Offering: Manufacturing and Supply Chain Materials Management

    • Functional Areas: Suppliers or Customers

  2. Click the Business Process Setup tab.

  3. In the Configure Collaboration Documents section, select a row and click Configure Additional Details for each outbound document that supports attachments.

  4. Select Enable Attachments in the XML Message.

Here's what you need to specify the attachment location for each message definition:

  1. Go to the Manage Collaboration Messaging Service Providers page or the Manage Trading Partner page.

  2. Search for and edit a service provider or trading partner.

  3. On the Outbound Collaboration Messages tab, select a row and click Actions > Add Row.

  4. Enter the details, including Attachment Location:

    • In payload: The attachment is sent as embedded binary content within the payload element of the B2B message.

    • In message: The attachment is sent in the attachment element of the B2B message.

    • MIME part: The attachment is sent as a MIME part outside the B2B message.

  5. Click Save and Close.

You can see the list of predefined message definitions that embed any attachments directly into the body of the XML payload along with the associated XPath expression in the next section. The XPath expression for In message attachments are also outlined.