Tutorials > Program model > Web services


Next >


Tutorial: Creating an Atom feed to display recipes in a remote widget

This tutorial shows you how to customize WebSphere Commerce to serve an Atom feed containing recipe information. Then we will learn how to display the recipe feed in a widget that the customers can share to social networks. For example, customers who are interested in the latest recipe collections can share a recipe widget to their Facebook page. The widget can contain links that drive traffic from Facebook back to the storefront. By creating this type of Web service feed, you are no longer limited to displaying the recipe information on store pages.

In Tutorial: Creating the Project BOD service module, you implemented the server-side customization to support a new Project service module. This service module included two nouns that represent the recipe data: the Project noun and the ProjectCollection noun. In this tutorial, we will create Atom feeds containing data from these two nouns using the Get Project and Get ProjectCollection services.

The following diagram illustrates the process of retrieving recipe data from these Web services and displaying the data in widget on a social network. In the right side of the diagram, the dotted red lines show where the recipe feed data displays in a browser and in a widget:


Learning objectives

The learning objectives for the tutorial are:


Time required

This tutorial should take approximately three hours to finish. If you explore other concepts related to this tutorial, it could take longer to complete.


Skill level

Advanced


Audience

This tutorial is intended for WebSphere Commerce developers who are responsible for creating and customizing WebSphere Commerce services.


System requirements

Before beginning this tutorial, make sure the development machine you are using meets these requirements:


Prerequisites

You must complete the following tutorials so that the Project service module and the Madisons recipe pages are available on the development machine:

You might also consider completing this related tutorial from the recipe series of tutorials:

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


Lessons in this tutorial

Next >


+

Search Tips   |   Advanced Search