Oracle Integration Cloud Service (ICS) provides file handling capabilities through technology adapters and other application-specific adapters. This post focuses on the most commonly used file handling methods in ICS, using FTP, File and REST adapters and some techniques to tackle advanced file handling requirements. Information in this post is applicable to release 17.2.5 of ICS.
FTP adapter is widely used for transferring and process files. It provides ability to read, download, write and delete files at an FTP/SFTP location. Size limits apply to files read via FTP, 2MB for “Read” operation and 10MB for “Download to ICS” operation. Files could be decrypted, unzipped upon Read and zipped, encrypted during Write operation. Refer to the guide about using FTP adapter for more information.
File adapter allows file polling, read and write operations on an on-premise location, using ICS connectivity agent. The target and source directories are locally accessible from the server where ICS connectivity agent is deployed. Refer to the guide about using File adapter for more information.
REST adapter allows receiving files as HTTP multipart attachments, and sending file as attachments, given that the target endpoint is capable of processing files sent as attachments. Incoming HTTP requests are limited to 10MB in size. In an upcoming release (currently 17.2.5) , REST adapter will be capable of receiving and sending files in raw form in HTTP body using content type “application/octet-stream”. This will allow uploading to and downloading files to content servers, such as Microsoft SharePoint.
Finally, StageFile action, allows reading, writing, listing, zipping and unzipping of files within ICS. It allows reading and processing files previously downloaded into ICS or created by StageFile write action. Note that the files handled by StageFile are temporary in nature, accessible only during execution of an integration instance.
File content that’s binary, not readable or non-conforming (to XML schema, for example) need to be converted to base64-encoded string so that web services can handle them. Likewise, web services return such content as base64-encoded string that need to be converted to files. ICS FTP adapters allow this through a schema shown below. Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.