Tutorials > Portal > Portal

| Next >


Tutorial: Calling the TutorialStore service in a portlet

Attention: This tutorial is currently under revision. The content might contain errors or inaccuracies. Subscribe to this page to be notified when an updated version is available.

In this tutorial, you modify an existing portlet in the WebSphere Commerce Portal server.


Learning objectives

The portlet you add to the WebSphere Commerce Portal server calls the TutorialStore service that you created in the Tutorial: Creating a WebSphere Commerce Service Module tutorial.


Time required

Expect this tutorial to take approximately 2 hours to complete.


Audience

This tutorial is intended for WebSphere Commerce developers who are responsible for creating and customizing a WebSphere Portal Server integration.


Prerequisites

IBM recommends, but not required, that you complete the Tutorial: Creating a WebSphere Commerce Service Module tutorial before you start this tutorial, in order to understand the integration points between the WebSphere Commerce Server and the WebSphere Portal Server. This tutorial demonstrates how to modify a pre-configured WebSphere Commerce standard portlet in the WebSphere Portal server to communicate with the created TutorialStore service.

Before beginning this tutorial, do these tasks:

  1. Install WebSphere Commerce Developer.

  2. Setup the WebSphere Commerce Portal development environment.

  3. Create a WebSphere Commerce sample portal page on WebSphere Portal.

  4. Set up the TutorialStore service on WebSphere Commerce, following the steps in Tutorial: Creating a WebSphere Commerce service module.

    To skip the tutorial, follow the instructions in Deploying the component facade starting at step 3. The files mentioned in the task are provided in the following ZIP file: tutorialstore_process_projectinterchange.zip.

  5. Download and unzip the sample tutorial code, PortalTutorial.zip, to a temporary location on the hard drive.

  6. Copy WCDE_INSTALL/portal/MVCPortlet from the WebSphere Commerce Developer environment to the same temporary location on the hard drive.

  7. Copy the contents from the TutorialStoreServer/sampleConfig/xml/config directory to the WC_EAR/xml/config directory.

  8. Run the following SQL statements to prepare the WebSphere Commerce Developer database:

  9. Configure the message mapper for the Process action:

  10. Verify the TutorialStore service is functioning properly.

Prerequisite knowledge: To complete this tutorial you should be familiar with the following terms and concepts:


Lessons in this tutorial

| Next >


+

Search Tips   |   Advanced Search