Tutorials > Payments > Develop a payment plug-in > Payment Service Provider Simulator


Configure the virtual host and transport chain of the Payment Service Provider Simulator Web service

Prerequisites

Import the Payment Service Provider Simulator EAR file into the WebSphere Commerce Developer workspace

Set up the Payment Service Provider Simulator database


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 from the pop-up menu.

    2. Wait for the status of the server to change to Started.

    3. Right-click WebSphere Commerce Test Server and select Run administrative console from the pop-up menu.

  4. In the Admin Console:

    1. Click Log in.

    2. In the left navigator section, select Environment > Virtual Hosts.

    3. Click New.

    4. In the Name field, type PSPSimService_host:

    5. Click Apply.

    6. Click Host Aliases.

    7. Click New.

    8. In the Port field, type 9080.

    9. Click OK.

    10. In the left navigator view, click Servers > Application servers.

    11. Click server1.

    12. Expand Web Container Settings under Container Settings:

    13. Click Web container transport chains.

    14. Click New.

    15. In the Transport chain name field, type PSPSimService_chain.

    16. In the Transport chain template field, select WebContainer(templates/chains|webcontainer-chains.xml#Chain 1):

    17. Click Next.

    18. In the Port name field, type PSPSimService_port.

    19. In the Port field, enter 9080:

    20. Click Next.

    21. Click Finish.

    22. Click Logout.

    23. Click Save.

  5. Close the Administration Console.


Previous topic:

Set up the Payment Service Provider Simulator database


Next topic:

Add the Payment Service Provider Simulator project to the WebSphere Commerce Test Server


+

Search Tips   |   Advanced Search