Oracle B2B: How to set Content-ID header for MIME parts in an ebXML Message Package
Last updated on JANUARY 04, 2017
Applies to:Oracle SOA Suite - Version 220.127.116.11.8 and later
Information in this document applies to any platform.
As per ebMS 2.0 specification, https://www.oasis-open.org/committees/ebxml-msg/documents/ebMS_v2_0.pdf
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: http://anuj-dwivedi.blogspot.ro/2011/04/ebms-attachment-handling-in-oracle-b2b.html
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 ?
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms