Tutorials > Program model > Web services

Next >

|


Tutorial: Creating an outbound Web service client for WebSphere Commerce

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 create MyCompanyMember outbound Web service client. This client integrates WebSphere Commerce with a sample Web service which manages users. The MyCompanyMember Web service client integrates with the UserRegistrationAdd and UserRegistrationUpdate commands to push new and updated user registration information to the sample system.

The sample Web service called by the client consists of a PushUser message that contains user registration information and a PushUserConfirmation response that contains confirmation of the request.

Service Data Objects (SDO) are used by the MyCompanyMember client to build the PushUser request message and handle the PushUserConfirmation response generated from the sample system.

The tutorial results will be tested by registering a new user in the ConsumerDirect sample store and viewing the PushUser request and PushUserConfirmation response message sent between WebSphere Commerce and the sample user Web service.

Attention: When you use RAD to generate the Java artifacts, by default EMF 2.4 is chosen.

To work with WebSphere Commerce v7, explicitly select EMF 2.2 while you generate the Java artifacts. Refer to Set an EMF genmodel to generate 2.2 compatible objects for more information.

The following implications must be considered when following this tutorial:

The following diagram illustrates:

  1. The integration of the MyCompanyMember client API with the WebSphere Commerce user registration commands.

  2. The integration of the MyCompanyMember client API with the WebSphere Commerce messaging system.

  3. The consumption of the MyCompanyMemberServices Web service by WebSphere Commerce.


Learning objectives


Time required

Expect this tutorial to take 4 hours to complete.


Audience

This tutorial is intended for WebSphere Commerce developers who are responsible for integrating WebSphere Commerce with an external system.


Prerequisites

Before beginning this tutorial ensure that you have fulfilled the following prerequisites:

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


Lessons in this tutorial

Next >

|


+

Search Tips   |   Advanced Search