HTTP Sending and Receiving MIMEAttachments
This sample shows how the HTTP Receiver, HTTP Response, and HTTP Request activities can be used to send MIME attachments over HTTP.
Prerequisites
Copy the TIBCO_HOME\bw\n.n\samples\palette\http\MIMEAttachment\attachment1.gif file to the c:\tmp folder on Windows or the /tmp folder on UNIX.
Procedure
Result
The mimeattachment.log output file at C:\tmp\MIMEAttachment should have the following content:
[Server] Received attachment of content-type: image/gif
[Server] Received attachment of content-type: text/plain
[Server] Received attachment of content-type: image/gif
Reply sent with attachment
[Client] Received attachment of content-type=: text/plain
[Client] Received attachment of content-type=: image/gif
Also, the large_files folder at C:\tmp\MIMEAttachment\download should have four files generated with the attachment content received from the client side.