Importing assets
You can import assets from one webMethods B2B instance to another by using a compressed file.
Before you begin
- Use a compressed file to import assets from both a cloud instance, and from an on-premises Trading Networks instance.
- You can import assets that are exported from Trading Networks 10.5 with Trading Networks Server 10.5 Fix 6 or higher versions, or from Trading Networks 10.7 with Trading Networks Server 10.7 Fix1 or higher versions. Export assets in binary format to reduce the file size compared to XML format.
- If the asset file contains only skipped assets, then the importing of the asset file fails.
-
The size of each asset file that is exported from cloud instance must not exceed 4 MB and from Trading Networks it must not exceed 1.5 MB. If your asset file is larger than the allowed limit, export them again in smaller file sizes in a dependency order and then try to import them again.
If you do not follow the dependency order, it results in missing dependencies. For example, you cannot import a processing rule without importing a partner profile. The following list shows dependency order:
- Partner profile
- Field groups
- Queues
- Document attributes
- Business documents
- Processing rules
- Agreements
If the export file is within the maximum size limit and has too many assets, import them in the dependency order.
- If the compressed file that contains business documents from the 1.1 version of webMethods B2B, those documents do not get imported.
Procedure
What to do next
Assets that are native to an environment are channels, partner users, purge or archive schedules, and runtime transaction data, tasks, and the entries recorded in the Course of transaction.
The following are the actions that you must take after you complete the import activity.
- Archival and purge schedules
- Update the default archival schedule and create the relevant purge schedules. For more information, see Archiving and purging data.
- Functional permissions
- Create the relevant users and permissions for each user. For more information, see Managing User Roles and Permissions.
- Partner profiles
- The Delivery settings are ignored when partner profiles are imported from an on-premises Trading Networks instance. Create outbound channels and associate them with the partner profiles. For more information, see Associating an outbound channel with a partner.
- Processing rule
- The Execute a service action while the importing processing rule from an on-premises Trading Networks instance is ignored. Create an integration in webMethods Integration and associate it in the Call an integration action. For more information, see Adding a Processing Rule.
- Communication credential for each partner profile
- Re-create the communication credential in the partner profiles. For more information, see Adding communication credential and Associating a communication credential with a partner.
On importing an XML document, manually associate it with the webMethods Integration project and the document type to populate the required schema.
The integration endpoint that you configured in all the processing rules must be valid when the endpoint is accessed from the target instance.
To see the complete list of skipped assets, ignored asset properties, and system-generated assets, see Reference information for asset movement.
If any EDI document depends on other assets, and during import if the dependent assets are not present in the target instance or import file, then the document import fails. The document schema is created in webMethods Integration. Later, if you try to import the same document again, the instance already has the document.
When you import a compressed XML file that is exported from Trading Networks, the associated partner certificates are not included. Add these certificates manually after the import process. If you want to include certificates along with partner profiles during import, export the file in the compressed binary format from Trading Networks.