Professional Documents
Culture Documents
Migrate Oracle B2B Trading Partner Setup To Collaboration Messaging Framework
Migrate Oracle B2B Trading Partner Setup To Collaboration Messaging Framework
B2B Trading
Partner Setup
to Collaboration
Messaging
Framework
WHITE PAPER / JULY 10, 2019
PURPOSE STATEMENT
The purpose of this document is to provide you with detailed information on how you can migrate
your Oracle B2B trading partner setup to Oracle Fusion Collaboration Messaging Framework.
DISCLAIMER
This document in any form, software or printed matter, contains proprietary information that is the
exclusive property of Oracle. Your access to and use of this confidential material is subject to the
terms and conditions of your Oracle software license and service agreement, which has been
executed and with which you agree to comply. This document and information contained herein may
not be disclosed, copied, reproduced or distributed to anyone outside Oracle without prior written
consent of Oracle. This document is not part of your license agreement nor can it be incorporated
into any contractual agreement with Oracle or its subsidiaries or affiliates.
This document is for informational purposes only and is intended solely to assist you in planning for
the implementation and upgrade of the product features described. It is not a commitment to deliver
any material, code, or functionality, and should not be relied upon in making purchasing decisions.
The development, release, and timing of any features or functionality described in this document
remains at the sole discretion of Oracle.
Due to the nature of the product architecture, it may not be possible to safely include all features
described in this document without risking significant destabilization of the code.
2 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
TABLE OF CONTENTS
Scenarios in Which You Can Import Oracle B2B Setup Data ...................... 4
DATA ........................................................................................................................................... 5
DATA (SCENARIO: ONE B2B SUPPLIER SITE CODE PER TRADING PARTNER) ................. 5
DATA (SCENARIO: ONE B2B SUPPLIER SITE CODE PER TRADING PARTNER) ................. 6
DATA (SCENARIO: MANY B2B SUPPLIER SITE CODES PER TRADING PARTNER) ............ 6
DATA (SCENARIO: MANY B2B SUPPLIER SITE CODES PER TRADING PARTNER) ............ 6
3 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
SCENARIOS IN W HICH YOU CAN IMPORT ORACLE B2B SETUP DATA
There are three scenarios for migrating pre-Collaboration Messaging Framework B2B configurations
from Service-Oriented Architecture (SOA) B2B:
In the case of Oracle Supplier Network, both inbound and outbound message setups are imported. After
the migration process is completed, and after the delivery method updates are done (see Points to
Consider for details), B2B is longer be used for Oracle supplier Network messaging; all messaging
interactions use a web service interface.
In the case of non-Oracle Supplier Network setups, after the migration is completed, B2B is still involved
in the partner interaction, and all B2B artifacts continue to be used exactly as before. In this case, the
migration is only switching the internal routing of the XML message between B2B and the application —
before the migration, the message flow is between B2B and specific application components, whereas
after the migration, Collaboration Messaging Framework acts as an intermediary between the
application and B2B.
In either case, Collaboration Messaging Framework enables customization of the messages, alternate
delivery methods, centralized logging and error handling, ability to reprocess messages and other
features that were not possible earlier.
Note:
The migration assumes a very specific approach for modeling trading partners in B2B, and can only
extract and import Collaboration Messaging Framework setup data if trading partners have been set up
accordingly. Based on your migration scenario, review the expected B2B setup before proceeding with
the import.
Ideally, Collaboration Messaging Framework setup data should not exist in the environment where the
import is being done. If there is any existing Collaboration Messaging Framework setup data, then the
import process may result in additional setup records getting created that are not desired.
1. Oracle B2B setup with one trading partner per supplier-site — Oracle Supplier Network
service provider
2. Oracle B2B setup with a single trading partner setup for multiple supplier-sites — Non-Oracle
Supplier Network service provider*
3. Oracle B2B setup with one trading partner / B2B Supplier Site Code per supplier-site — Direct
trading partner or Non-Oracle Supplier Network service provider
In the Collaboration Messaging Framework Oracle Supplier Network model for service providers, a
service provider is setup in B2B as a single trading partner. For outbound messages from B2B to the
service provider, the actual trading partner information is provided in the B2B message header OR can
be retrieved from within the payload.
4 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
POINTS TO CONSIDER
5 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
recipients may see additional HTTP header fields in the message they receive. Inbound
messages will continue to be successfully received by the B2B, but will fail validation in
Collaboration Messaging Framework because an additional SENDER_HUB_ID HTTP header
field is required in the HTTP header to process the message.
6 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
B2B SETUP DATA MIGRATION PROCESS FLOW
Figure 1. Process for migrating supplier network trading partner B2B setup data to Oracle Fusion
Collaboration Messaging Framework.
7 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
To address this, the import allows for two stages of data verification — one after creating the CSV
import file, before importing into Fusion, and the other after importing the CSV and using the Import
Type as Validate Only to see if there is any conflict if the setup records are imported into the application.
To import the B2B setup data, here’s what you have to do:
1. Export your B2B configuration data using the B2B export feature.
This creates a compressed file that contains all the B2B set up data.
2. Upload the file into the scm$/B2BConfigurationImport$/import$ account.
3. Create a collaboration messaging setup data import file.
This creates Collaboration Messaging Framework setup data records. If no Oracle Supplier
Network trading partners are found during the export, then the scheduled process status is set
to Error, with the details mentioning that no Oracle Supplier Network trading partners were
found. If at least one trading partner is found, then the process status is set to Success.
4. Review the CSV files that are created and update as required (verify trading partners and
documents, remove unwanted records, update status for documents to Enabled or Disabled).
5. Import the collaboration messaging setup data.
6. Review the imported data.
If needed, delete the import batch, make updates to the data as required, and import the data
again.
Oracle Supplier Network • Trading partners that have the Oracle Supplier Network Test or Production
B2B Setup URL set up with an HTTP Delivery Channel.
• Trading partners with a single ID, with ID Type of B2B Supplier Site Code.
• Trading Partner Agreements for trading partners that use one of the pre-
seeded (V1 implementation) OAG 7.2.1 document definitions.
Other B2B Setup • Trading partners that have an HTTP Delivery Channel with a non-Oracle
Supplier Network Test or Production URL.
• Trading partner with a single ID or multiple IDs with ID Type of B2B Supplier
Site Code.
• Trading Partner Agreements for trading partners that use one of the pre-
seeded (V1 implementation) OAG 7.2.1 document definitions.
8 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
5. Click Submit.
The scheduled process extracts the setup data and creates two CSV files into the
scm$/B2BConfigurationImport$/import$ account (which is the same account to which you uploaded
the B2B export file). The CmkConfigImportPartners.csv file contains all the trading partner
information that is extracted from the B2B export file and the CmkConfigImportDocs.csv file
contains all the documents that are set up for that trading partner.
9 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
The records of the CmkConfigImportPartners.csv file are described in the following table.
10 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
PartnerKey3 are all required and need
to be populated as outlined.
11 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
The records of the CmkConfigImportDocs.csv file are described in the following table.
12 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
ExtPtnrDocFailReason Not used during import. No
Once the CSV ZIP is generated, you can download the file from scm$/B2BConfigurationImport$/import$
(the same account as the B2B ZIP file) and review it.
It is critical that the CSV files that are generated be reviewed before proceeding with the second step of
the import. TheB2B export contains the entire B2B setup. Unless the B2B setup is precise and contains
exactly the artifacts required for the trading partners and trading partner agreements in use, there is no
guarantee that it will not contain trading partners, trading partner agreements, or other configuration
data that is not in use.
In general, assuming that the B2B setup does not contain any redundant data or deactivated trading
partner agreements, there should not be any need for any CSV updates. However, it is better to review
the generated CSV, to handle possible issues such as the ones listed below:
• In the CmkConfigImportPartners.csv file, remove any unwanted trading partners, and remove
their document references from the CmkConfigImportDocs.csv file.
• In the CmkConfigImportDocs.csv file, remove any document rows that are not needed. For
example, this could happen if the upgraded environment has redundant trading partner
agreements that are not deployed.
• In the CmkConfigImportDocs.csv file, update the desired status for all the records created by
the import. For example, the B2B export does not indicate if a trading partner agreement is
deployed. The export sets the status of all documents as Enabled by default, which you can
change.
13 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
• Verify that all documents setup for the trading partner are present in the CSV, remove or
disable any documents as needed
• Do not update any service provider name in the CSV file. The name is used to correlate with
B2B (in the case of non-Oracle Supplier Network messaging use cases, and is used by
Collaboration Messaging Framework to perform updates (in the case of Oracle Supplier
Network use cases).
• Note that the URL information in the CSV file is for review only, and is not used for import
processing.
Uploads the setup data to the staging table, validates the import, and creates
Import to CMK
the valid records in Collaboration Messaging Framework setup tables.
Uploads the setup data to the staging table and validates the import. No
Validate Only
further processing is done.
5. Select the CSV Configuration ZIP File that you created using the Create Collaboration
Messaging Setup Data File scheduled process.
6. For Oracle Supplier Network data import, enter User Name and Password for the Oracle
Supplier Network buyer account.
7. Click Submit.
The records created by the process have a Batch ID stamped on them. These enable you to
delete the records, if needed.
• Delivery Method: For Oracle Supplier Network or Oracle Supplier Network Test service
providers only. The migration updates the delivery method with the user name and password
of the buyer account (provided as part of the Scheduled Processes input).
• Trading Partners: These are created with or without a service provider reference, depending
on the data in the import spreadsheet. If a record exists, it is not updated, and this is not
treated as an error.
• The values from the Trading Partner ID and ID Type fields are used to create trading partners.
These are populated by the first scheduled process as either the B2B Site Code or the
RECEIVER_ID/RECEIVER_ID_TYPE (non-Oracle Supplier Network and Oracle Supplier
Network respectively).
14 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
• Trading Partner Messages/Documents: These are created based on the data in the import
spreadsheet. If a record exists, it is not updated, and this not treated as an error. For trading
partner messages, the status is always set to Active by the import.
• Application Partners (association of the trading partner to supplier sites): The import
process tries to find a supplier site based on the B2BSiteCode in the CSV file. If multiple
supplier sites are found with the same B2bSiteCode in the supplier setup, they are all
associated to the corresponding trading partner. If an association already exists, then it is
skipped and not treated as an error. The B2BSiteCode value is copied to the Domain Value
Group in the application partner, for domain value map (DVM) lookups.
• Application Partner Documents: For each application partner created, the set of documents
that are in the CmkConfigImportDocs CSV file are set up. If a record already exists for the
document, it is skipped. The status of each document that is created is based on the status
provided in the spreadsheet.
Note: It is possible that an application partner gets created even if it was already an existing application
partner for the B2BSiteCode (there could be multiple supplier sites with the same B2BSiteCode, so
there could be multiple application partner records getting created for a single trading partner —
B2BSiteCode). You should review the outcome of the import to verify that all such scenarios are as
expected, and not due to set up errors (for example, due to incorrect B2BSiteCode values).
The records created by the process have a Batch ID stamped on them. These enable you to delete the
records, if needed.
1. Go to the Collaboration Messaging Framework work area and click Manage Collaboration
Messaging Setup Data Import from the Tasks pane.
2. Search for the imported data. You can:
• Select a row in the Trading Partners section and click Actions > Export to Excel.
• Select a row in the Documents section and click View > About This Record.
The search results include the following:
o Reasons for any import failure
o Status of the import of trading partners: Success, Invalid, or Skipped
o Reason for any failure of associating the supplier ID with the trading partner
o Status of association of the supplier with the trading partner: Success, Error,
or Invalid
3. Click Done.
UNDO IMPORT
After reviewing the data, you might sometimes need to undo the import of the setup data that you
created using the Create Collaboration Messaging Setup Data scheduled process, for example, if
duplicate application partner records are created, you can delete them. Here's what you can do:
If multiple batches are imported, you can delete the setup data created by each batch. Delete the latest
batch that was imported, followed by the previous one, and so on.
15 W HITE PAPER / Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging Framework
ORACLE CORPORATION
Worldwide Headquarters
500 Oracle Parkway, Redwood Shores, CA 94065 USA
Worldwide Inquiries
TELE + 1.650.506.7000 + 1.800.ORACLE1
FAX + 1.650.506.7200
oracle.com
CONNECT W ITH US
Call +1.800.ORACLE1 or visit oracle.com. Outside North America, find your local office at oracle.com/contact.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or
registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks
of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 0719
White Paper Migrate Oracle B2B Trading Partner Setup to Collaboration Messaging FrameworkImport Oracle Fusion Collaboration Messaging
Setup DataImport Collaboration Messaging Setup DataImport Collaboration Messaging Setup Data
July 2019July 2019
Author: [OPTIONAL]
Contributing Authors: [OPTIONAL]