You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The Attachments Tool allows you to attach binary or XML files to a SOAP message. 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 the SOAP Client, Message Responder, or Messaging Client (right-click > Add Output). It is available in the following areas for each tool:

    • SOAP Client: Request > SOAP Envelope
    • Message Responder: Outgoing Response > Payload 
    • Messaging Client: Request > Traffic
  2. Open the Attachments Tool and click Add. An XML Attachment entry displays in the Attachment table.
  3. Double-click the XML Attachment entry. An Edit Attachments dialog opens.
  4. In the Edit Attachments dialog, select either XML or Binary from the Mode menu.
  5. Configure the attachment. The options vary according to the Mode selected:
    • The following option is available for XML Mode:
      • Input mode: Select the desired input mode from this menu and configure accordingly. Options are Literal XML, Form XML, Scripted XML, and Form Input. See Input Modes for more information about using these input modes.
    • The following options are available for Binary Mode:
      • Base 64 Encoding: Enables Base 64 Encoding to encode the binary value.
      • Data Source Column: Select to send values from a data source column.
      • File: Select to send values from a file. Choose the desired file by clicking Browse. Enable Persist as Relative Path if you want the path to this file to be saved as a path that is relative to the current configuration file.
      • Text: Select to send a text value.
      • Content type: Specify the content type. Click Edit Headers if you want to add, modify, or delete attachment headers.
  • No labels