My Oracle Support Banner

Oracle B2B: How to set Content-ID header for MIME parts in an ebXML Message Package (Doc ID 2116169.1)

Last updated on NOVEMBER 15, 2021

Applies to:

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


As per ebMS 2.0 specification,

an ebXML message package consist of two logical MIME parts:

• The first MIME part, referred to as the Header Container, containing one SOAP 1.1 compliant message. This XML document is referred to as a SOAP Message for the remainder of this specification,
• Zero or more additional MIME parts, referred to as Payload Containers, containing application level payloads.

In Oracle B2B, the first Payload Container is called "Business Payload", while the subsequent Payload Containers are called "Attachments".

Each payload container has its own Content-ID header used to specify a unique, identifying label for each payload.

Currently, Oracle B2B generates its own Content-ID for the Header Container and for the "Business Payload", and these can not be overwritten.

There is an option for setting Contnet-ID header but only for "Attachment" MIME part - see here for details:


Problem: How to set the Content-ID header for "Header Container" and for "Business Payload" MIME part ? Assume you would need to set these two Content-IDs from backend application, for "Header Container" and/or for "Business Payload", how to overwrite the auto-generated Content-IDs in Oracle B2B ?



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

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