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


Generate the Payment Service Provider Simulator Web service client project

Prerequisites

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

Set up the Payment Service Provider Simulator database

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

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

Test the Payment Service Provider Simulator

To generate the Payment Service Provider Simulator Web service client project:


Procedure

  1. Open WebSphere Commerce Developer.

  2. Click Window > Preferences.

  3. In the left navigator list, select Web Services > WebSphere > JAX-RPC Code Generation. Select the WSDL2JAVA tab.

  4. Make sure that the Disable data binding and use SOAPElement option is cleared.

  5. Open the Java EE perspective.

  6. In the Enterprise Explorer view, right-click Web Services > Services > PSPSimService ; then click Generate Client from the pop-up menu.

  7. In the Client proxy type field, select Java proxy.

  8. Click Next.

  9. Click Next.

  10. In the Client type field, select Java.

  11. In the Client project field, type PSPSimClient:

  12. Click Finish.

  13. In the Enterprise Explorer view, expand Other Projects. Confirm that the PSPSimClient project has been created.


Previous topic:

Test the Payment Service Provider Simulator


Next topic:

Add the Payment Service Provider Simulator Web service client project as a utility JAR file to the WebSphere Commerce EAR file


+

Search Tips   |   Advanced Search