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 MAY 15, 2023

Applies to:

Oracle SOA Suite - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Purpose

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:

  • ora:getAttachmentContent()
  • ora:writeBinaryToFile()
  • ora:readBinaryFromFile()

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

Scope

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

  • Sending/receiving attachments between different composites with synchronous operations.
  • Sending/receiving attachments between different composites with asynchronous operations.
  • Sending/receiving attachments between different components within a composite with synchronous operations.
  • Sending/receiving attachments between different components within a composite with asynchronous operations.
  • Sending/receiving attachments between composites and external services with synchronous operations.
  • Sending/receiving attachments between composites and external services with asynchronous operations.

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

Details

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
Purpose
Scope
Details
 Use case: XPATH functions for reading MIME Attachments
 Interface requirements
 How it works
 Similarities
 Differences
 Coding alternatives
 Alternative 1: Use ora:getAttachmentContent
 Alternative 2:Use the combination of ora:writeBinaryToFile/ora:readBinaryFromFile
 Known issues
 Other considerations
 Performance
 Storage 
 Supported Bindings
 Transactions
 Summary
References

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