Tutorials for Trading Partner Integration
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
This topic introduces the trading partner integration tutorials and describes the setup steps required before starting the tutorials. It contains the following sections:
This document provides the following tutorials:
These are standalone tutorials. You can complete both tutorials, if you want, but you can also complete just the ebXML tutorial without the RosettaNet tutorial, and vice versa.
Before you begin using the trading partner integration tutorials:
tptutorial
domain and install the tutorial files, as described in Setting Up the Tutorials.
Before you start using the trading partner integration tutorials, you need to complete the following steps:
The trading partner integration tutorials require a WebLogic Integration domain that you must create using the BEA WebLogic Platform Configuration Wizard. The domain name used in this document is tptutorial
, but you can use any valid domain name you want.
Note: You can also use an existing WebLogic Integration for these tutorials. However, creating a new, separate domain ensures that the required default trading partner configuration is available for use with the tutorials.
To create a new WebLogic Integration domain:
/common/bin
subdirectory of the product installation directory (such as /bea/weblogic81/common/bin
), and enter the following command: sh config.sh
.Note: These instructions assume mostly default selections. For more information about advanced configuration options, see the Configuration Wizard online help.
When you create a new WebLogic Integration domain using the Configuration Wizard, the Configuration Wizard automatically populates the Trading Partner Management (TPM) repository with default trading partners and protocol bindings. The trading partner integration tutorials use this default configuration. To learn more about the TPM repository, see Trading Partner Management (available at http://download.oracle.com/docs/cd/E13214_01/wli/docs81/manage/tpm.html) in Managing WebLogic Integration Solutions.
By default, WebLogic Integration runs in Test (development) mode, which allows you to use the default protocol bindings and to run business processes from separate trading partners on the same machine (collocated). In a production environment, each trading partner would run its respective business process on its own separate WebLogic Integration server, service profiles would need to be explicitly configured, both trading partners would need to be enabled, and the service profile would need to be enabled. For more information about the Test and Production modes, see "Configuring the Mode and Message Tracking" in Trading Partner Management (available at http://download.oracle.com/docs/cd/E13214_01/wli/docs81/manage/tpm.html) in Managing WebLogic Integration Solutions.
The WebLogic Integration domain provides two preconfigured trading partners for development and testing:
Each default trading partner comes with the following preconfigured protocol bindings:
Each protocol binding (except ebXML 1.0) is marked as default. At run-time, the default binding can be used automatically in the absence of specific protocol information.
You view and update the contents of the TPM repository using the WebLogic Integration Administration Console. If you want, you can use the WebLogic Integration Administration Console to browse the preconfigured settings in the TPM repository. The trading partner integration tutorials use the preconfigured settings, so no changes to the TPM repository are required unless otherwise stated in the tutorials.
Note: If you make any changes to the preconfigured settings in the TPM repository, you should adjust the instructions in the tutorials accordingly. For configuration instructions, see Trading Partner Management (available at http://download.oracle.com/docs/cd/E13214_01/wli/docs81/manage/tpm.html) in Managing WebLogic Integration Solutions.
To view the default trading partner information:
http://localhost:7001/wliconsole
.The WebLogic Integration Administration Console displays the home page.
Note: If you want more information about a particular screen in the WebLogic Integration Administration Console, click the Help icon.
Test_TradingPartner_1
, and click the Go button to see the preconfigured bindings for the default trading partner.Note: By default, trading partner endpoints are configured to listen on localhost:7001
. If you configured WebLogic Server to listen on a different port, adjust the trading partner binding information accordingly.
The documentation and example files for the trading partner integration tutorials are distributed in an archive file (tptutorial.zip
) that you obtain from BEA's dev2dev Online site. This archive file contains the completed ebXML and RosettaNet applications used in the tutorials, as well as schema files and sample XML files.
To install the files for the trading partner integration tutorials:
http://dev2dev.bea.com/codelibrary/code/tptutorial.jsp
tptutorial.zip
file (using folder names) to a local directory. The extracted files have the following directory structure:
After you have set up the tutorial domain and extracted the tutorial files, you can begin using the following tutorials:
Both tutorials use the same WebLogic Integration domain that you created in Setting Up the Tutorials. These are standalone tutorials. You can complete both tutorials, if you want, but you can also complete just the ebXML tutorial without the RosettaNet tutorial, and vice versa.
![]() ![]() |
![]() |
![]() |