Use the Opaque Document Standard
You can create customized document definitions using the Opaque document standard in B2B for Oracle Integration.
Create a new B2B document definition using the Opaque document standard
While defining inbound and outbound agreements in trading partner mode, you can use a document created with the Opaque standard to identify and process inbound and outbound payloads that are of unknown formats or are binary files, such as PDFs or images.
Note the following about using a document created with Opaque standard for outbound agreements:
- When using AS4 transport for outbound messages, it is recommended to enable the Send payload as attachment configuration. This ensures that any special characters in the payload do not interfere with XML parsing.
- For HTTP based transports like AS2, AS4 and REST, the value for the HTTP header
b2b-opaque-headeris taken from the document configuration attached to the corresponding outbound agreement. - For FTP transport, the
filenameis taken from the transport configuration, and not from the document configuration, to ensure consistency across all B2B FTP outbound scenarios. - For REST transport, modifications are made in the mapper of the auto-generated Send integration so that the value of the
b2b-opaque-headeris passed to the underlying REST adapter.
Note:
To use the Opaque document standard with REST transport, delete the B2B Templates Project (if it exists) from your project workspace. This ensures that, when you deploy the new REST transport, it will use the updated REST template integrations needed for this functionality.