Generating the Payment Service Provider Simulator Web service client project

In this lesson, you will generate the Payment Service Provider Simulator Web service client project using WebSphere Commerce Developer.

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 Service view, right-click JAX-RPC > PSPSimEJB: PSPSimService; select Generate > Client.
  7. Input /PSPSimEJB/ejbModule/META-INF/wsdl/PSPSim.wsdl as the Service definition. In the Client type field, select Java proxy. For Configuration: select WebSphere Application Server 7.0 as the Server; choose IBM WebSphere JAX-RPC for Web service runtime; set PSPSimClient as the client project, and Java Utility Project as the Client project type.

    Web service client configuration.
  8. Click Finish.
  9. In the Enterprise Explorer view, confirm that the PSPSimClient project has been created.