Sun B2B Suite eXchange Integrator User's Guide

Building a B2B Host

The B2B host plays a dual role: It functions both as an object — that is, a project-level (logical) component in the project tree that can be dragged into a Connectivity Map —, and also as a server — that is, an environment (physical) component, called eXchangeService.

Each B2B Host project joins a particular B2B Host instance to a particular Environment. The name of the created eXchangeService reflects this: For example, if the B2B Host instance is named cm1myHost123, and the Environment is named envA, the name of the new external added to the Environment is envA_cm1myHost123 eXchange Service.

Creating an Environment

These steps below set up the minimal environment required for building a B2B Host that can be used by eXchange Partner Manager (ePM).

ProcedureTo create and populate the environment

  1. In Enterprise Designer with the Environment Explorer tab active, right-click the Repository.

    The explorer tree displays a new environment, and the Environment Editor opens. Optionally, you can rename the environment to something meaningful.

  2. On the context menu, click New Environment.

  3. In the environment explorer tree, right-click the new environment.

  4. On the context menu, point to New and click Logical Host.

    The explorer tree and editor canvas display the new Logical Host. Optionally, you can use the tree to rename the Logical Host to something meaningful.

  5. In the environment explorer tree, right-click the new Logical Host.

  6. On the context menu, point to New and click Sun SeeBeyond Integration Server.

    The explorer tree displays the new Integration Server, and the canvas displays it inside the Logical Host. Optionally, you can rename it to something meaningful.

  7. If appropriate, right-click the Integration Server, click Properties, and configure its parameters as needed for use at your site.

  8. In the environment explorer tree, right-click the new Logical Host.

  9. On the context menu, point to New and click Sun SeeBeyond JMS IQ Manager.

    The explorer tree displays the new JMS IQ Manager, and the canvas displays it inside the Logical Host. Optionally, you can rename it to something meaningful.

  10. If appropriate, right-click the JMS IQ Manager, click Properties, and configure its parameters as needed for use at your site.

ProcedureCreating and configuring the Oracle external

  1. In the environment explorer tree, right-click the environment.

  2. On the context menu, point to New and click Oracle External System.

  3. In the Create an External System dialog, enter a meaningful name, set the system type to Outbound Oracle eWay, and click OK.

  4. Configure the Oracle external with the values for your eXchange database instance.

    For details on configuring the Oracle external, see the Oracle eWay User’s Guide. For sample settings typical of an eXchange database, see Figure 4–12.

    Figure 4–12 Environment Configuration for Oracle External System

    Environment Configuration for Oracle External
System

  5. In the environment explorer tree, right-click the environment.

  6. On the context menu, point to New and click B2BServiceConfigurator External System.

  7. In the Please input the name dialog, enter a meaningful name and click OK.

  8. Open the properties of the B2BService Configurator and, for Database Settings, supply values for URL, UserName, and Password that match the values you supplied for the Oracle external.

    See Figure 4–13.

    Figure 4–13 Environment Configuration for Oracle External System

    Environment Configuration for Oracle External
System

ProcedureCreating and configuring LDAP and other externals

  1. In similar fashion, create an external system for LDAP, name it appropriately, and configure it appropriately for your operating environment.

  2. Also create external systems for BatchFTP, BatchLocalFile, File, and HTTP (as well as any other external systems corresponding to other transport protocols used by your B2B Host), and configure them appropriately for your operating environment.

    Once you finish these steps, the environment now has all you need to build a B2B Host as well as the GUI, Tracker, and error-handling projects.

    To create the eXchange Service, you create a connectivity map that links the B2B Host to an Oracle eWay and then build the corresponding Deployment Profile. See Connecting the B2B Host to Oracle and LDAP Externals.

Optional: Configuring an Environment to Use HTTPS

HTTPS means “HTTP over SSL” (secure sockets layer). If you want to use the HTTPS transport attributes definition, you must take additional steps to enable HTTPS.

ProcedureTo configure the HTTP external to use SSL

  1. In the Environment Explorer tree, right-click the HTTP external and, on the popup context menu, click Properties.

  2. In the Properties sheet, open Security and click SSL.

  3. For TrustStore, provide the path and filename of the default truststore to be used when establishing SSL connections; for example:

    C:\temp\eXchange\Crypto\companyb.ssl.keystore

  4. For TrustStore password, provide the correct password for this truststore; for example: companyb.

    For TrustStoreType, keep the default: JKS. See Figure 4–14.

    Figure 4–14 Configuring the SSL Properties of the HTTP External

    Configuring the SSL Properties of the HTTP External

  5. AIX only. Make the following additional changes for Logical Hosts running on AIX.

    • Change JSSE Provider Class from com.sun.net.ssl.internal.ssl.Provider to: com.ibm.jsse.IBMJSSEProvider

      • Change X509 Algorithm Name from SunX509 to (case-sensitive): IbmX509

      • Also make other configuration changes as needed. For more information, see the eWay HTTPS Adapter User’s Guide.

      • When you are finished, click OK.


        Note –

        Before you start the domain, ensure that its ...\keystore\ directory contains the correct .keystore file and that its alias (unless you edit server.xml otherwise) is tomcat. For an example, copy jc512-repository \server\sbyn.keystore to your jc512-logicalhost\keystore\ directory and rename it from sbyn.keystore to yourIntegrationServername .keystore. The keystore file must be of type JKS.


Connecting the B2B Host to Oracle and LDAP Externals

These steps create a map that establishes a connection between the B2B Host and the two externals the B2BService communicates with: Oracle and LDAP.

ProcedureTo create and populate the B2B Host Connectivity Map

  1. With the Project Explorer tab active, in the project tree, right-click the project.

  2. On the context menu, point to click New and click Connectivity Map.

    The project tree displays a new map, and the Connectivity Map Editor opens. Optionally, you can rename the map to something meaningful.

  3. In the toolbar along the top of the canvas, click the External Applications tool and, from the drop-down list, select the checkboxes for Oracle External Application and for LDAP External Application.

  4. From the project tree, drag your B2B Host onto the left side of the canvas

  5. From the toolbar, do the following:

    • Drag an Oracle external onto the right side of the canvas.

    • Drag and LDAP external onto the right side of the canvas.

    Optionally, you can rename components to something meaningful, and then connect them. See Figure 4–15.

    Figure 4–15 Connectivity Map Showing B2B Host Connected to Externals

    Connectivity Map Showing B2B Host Connected to
Externals

  6. For the B2B-LDAP connection: double-click the pink dot.

  7. When the Properties dialog box appears, make no changes, but click OK to set the default configuration.

  8. For the B2B-Oracle connection: double-click the pink dot and configure the Oracle eWay as outbound.

    See Figure 4–16.

    Figure 4–16 Configuring the Oracle External as Outbound

    Configuring the Oracle External as Outbound

  9. When the Properties dialog box appears, make no changes, but click OK to set the default configuration.

    Now that the map is populated and configured, you are ready to build the B2B Host.

Building the B2B Host

These steps create, populate, and build a Deployment Profile that maps the resources named in the Connectivity Map to the resources provided in an Environment.

ProcedureTo create and build the Deployment Profile for the B2B Host

  1. With the Project Explorer tab active, in the project tree, right-click the project.

  2. On the context menu, point to New and click Deployment Profile.

  3. In the Create Deployment Profile dialog box, rename the deployment profile to something meaningful, point it at the correct Environment.

    Make sure that it is referencing the Connectivity Map that contains the B2B Host. See Figure 4–17.

    Figure 4–17 Creating the Deployment Profile for the B2B Host Project

    Creating the Deployment Profile for the B2B Host
Project

  4. In the Deployment Editor, click Automap to map the three components to their respective external systems.

    See Figure 4–18.

    Figure 4–18 Deployment Profile Before Components Are Mapped to Externals

    Deployment Profile Before Components Are Mapped
to Externals

    In the Environment targeted by the Deployment Profile, an eXchangeService is added that contains all the metadata of the B2B Host. See Figure 4–19.

    Figure 4–19 Environment with Newly Created eXchangeService

    Environment with Newly Created eXchangeService

  5. Click Build.

    See Figure 4–20.

    Figure 4–20 Deployment Profile Build in Progress

    Deployment Profile Build in Progress