Configuring the Payment Service Provider Simulator virtual host and transport chain

In this lesson, you will configure the virtual host and transport chain of the Payment Service Provider Simulator Web service using the WebSphere Commerce Developer Admin Console.

Procedure

  1. Open WebSphere Commerce Developer.
  2. Open the Java EE perspective.
  3. In the Servers view:
    1. Right-click WebSphere Commerce Test Server and select Start.
    2. Wait for the status of the server to change to Started.
    3. Right-click WebSphere Commerce Test Server and select Administration > Run administrative console.
  4. Login to the administrative console and create the virtual host:
    1. In the left navigator section, select Environment > Virtual Hosts.
    2. Click New.
    3. In the Name field, type PSPSimService_host
      Configuring virtual host for PSPSImService_host.
    4. Click Apply; then click Host Aliases > New.
    5. In the Port field, type 9080.
    6. Click Ok.
  5. Create a new transport chain.
    1. In the left navigator view of the Admininstrative console, click Servers > Server Types > WebSphere application servers.
    2. Click server1.
    3. Expand Web Container Settings under Container Settings:
      Configuring server1.
    4. Click Web container transport chains > New.
    5. In the Transport chain name field, type PSPSimService_chain.
    6. In the Transport chain template field, select WebContainer(templates/chains|webcontainer-chains.xml#Chain 1):
      Creating PSPSimService_chain.
    7. Click Next.
    8. In the Port name field, type PSPSimService_port.
    9. In the Port field, enter 9080:
      Creating PSPSimService_port.
  6. Click Next > Finish > Logout > Save.
  7. Close the Administration Console.