Opening file attachments

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

Before you begin

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

Procedure

  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 that you want 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. Ensure that the 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 concepts:
Generic service client overview
Related tasks:
Sending service requests with WSDL files
Sending HTTP endpoint requests
Sending a JMS endpoint request
Sending a WebSphere MQ endpoint request
Testing all operations in a WSDL file
Viewing message content
Synchronizing a remote WSDL file
Adding static XML headers to a service request
Related information:
Creating transport protocol configurations

Feedback