ICS File handling options and tips by Mani Krishnan



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.

File handling in 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.

Base64 encoding and decoding

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.


SOA & BPM Partner Community

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.

Blog Twitter LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

About Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: