+

Search Tips   |   Advanced Search


Opening file attachments

When a service sends a file attachment with the response, import it as a resource to open the attachment.

If the service sends or receives file attachments, ensure that you have configured the environment with the correct libraries and configuration files. See Configure the environment for handling file attachments for details.

Ensure that you have specified an editor to view the attachment type in. Click Window > Preferences > General > Editors > File associations, and specify the editor. To open a received file attachment:

  1. Open the message return, and click the Attachment tab. File attachments are listed with a default name, a MIME type, and a contents ID.

  2. Select the line for the attachment to open, and click Open.

  3. In the Create Resource window, type a name for the resource, and select a location where it will be imported, and click OK. Verify name of the resource includes a file extension that is compatible with the MIME type of the attachment.


What to do next

After the attachment has been imported, you can click on Open again to open the file in the corresponding editor.


Related

  • Generic service client overview


    Related tasks

  • Invoke a call with a WSDL file
  • Invoke an HTTP endpoint call
  • Invoke a JMS endpoint call
  • Invoke a WebSphere MQ endpoint call