The Attachments Tool allows you to add MIME attachments to an outgoing message before it is sent. This tool is primarily used to add binary attachments to a SOAP message according to the "SOAP with Attachments" (SwA) specification. This tool should not be used to configure MTOM/XOP message attachments. For MTOM attachments, see the Misc tab in the SOAP Client.

To use the Attachments Tool:

  1. Add the Attachments Tool as an output to a messaging tool (right-click > Add Output). It is available in Request > Traffic or Request > SOAP Envelope for message clients or Outgoing Response > Payload for message responders. 

  2. Open the Attachments Tool and click Add. A new attachment entry appears in the Attachments table.
  3. Open the attachment entry by double clicking it or by selecting it then clicking Modify. An Edit Attachments dialog opens.
  4. Choose either Binary or XML from the Mode menu.
  5. Configure the attachment. The options vary according to the Mode selected:
  6. Click OK.
  7. If you want to add, modify, or delete root part headers, click the Root Part Headers tab.