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 add a MIME attachment to a message:

  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. If you want to add, modify, or delete root part headers, you can do so on the Root Part Headers tab. 
  3. On the Attachments tab, click Add. A new attachment entry appears.
  4. Double-click the attachment entry. An Edit Attachments dialog opens.
  5. Choose either Binary or XML from the Mode menu.
  6. Configure the attachment. The options vary according to the Mode selected:
  7. Click OK and save your changes.