My Oracle Support Banner

Understanding XPATH Functions for Processing MIME Attachments with BPEL PM in SOA Suite 11gR1 (Doc ID 1272093.1)

Last updated on AUGUST 27, 2020

Applies to:

Oracle SOA Suite - Version and later
Information in this document applies to any platform.
***Checked for relevance on 12-May-2014***


This document does not intend to replace the existing documentation related to the guidelines that must be followed when exchanging MIME attachments between services implemented with SOA Suite 11g R1 components or external services.

It rather intends to provide additional information about the way, how the two most common XPATH functions used both for reading /sending MIME attachments work under the scenes, in order to help you to avoid common caveats when implementing composite services.
Those three functions are:

Additionally, it will focus to the BPEL components and it will give a code sample demonstrating the usage of those functions.


This document is addressed to SOA developers/implementers developing BPEL components with the following patterns:

A basic knowledge of SOAP Attachments and Oracle BPEL Process Manager is required.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Use case: XPATH functions for reading MIME Attachments
 Interface requirements
 How it works
 Coding alternatives
 Alternative 1: Use ora:getAttachmentContent
 Alternative 2:Use the combination of ora:writeBinaryToFile/ora:readBinaryFromFile
 Known issues
 Other considerations
 Supported Bindings

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.