Tutorials > Web services


Next >


Tutorial: Defining an inbound Web service

This tutorial demonstrates how to create a Web service to retrieve information.


Learning objectives

Although WebSphere Commerce promotes using an OAGIS style schema to define services ( http://www.openapplications.org/), for simplicity this example uses simple XML schema to create a product service to retrieve product information. The WebSphere Commerce Web services framework will operate regardless of how the services are defined.

In this tutorial we will use WebSphere Commerce Developer to develop a Web service that uses the WebSphere Commerce Web services framework. You will learn how to perform the following tasks:


Time required

Expect this tutorial to take about 3 hours to complete.


Audience

This tutorial is intended for WebSphere Commerce developers who will be responsible for developing Web services.


Prerequisites


Configure WebSphere Commerce Developer for Web service development

Before beginning this tutorial, ensure that you have configured WebSphere Commerce Developer for Web service development.

You must enable Struts Development in WebSphere Commerce Developer, if it is currently disabled:

  1. Select Window > Preferences.

  2. Select General > Capabilities.

  3. Click Advanced... and select Web Developer (advanced) > Struts Development, if it is currently disabled.

  4. Click OK to accept the changes and close the Advanced Capabilities Settings window.

  5. Click OK to accept the changes and close the Preferences window.


Knowledge prerequisites

Before beginning this tutorial ensure that you have:

See the following technotes if you have problems with the validation of the XML Schema Definition (XSD) when using WebSphere Commerce Developer.


Lessons in this tutorial


Related concepts

WebSphere Commerce as a service provider


Related tasks

Configure WebSphere Commerce Developer for Web service development

Deploy an inbound Web service

Enable WebSphere Commerce as a service provider

Modify an inbound Web service

Related reference

WebServicesRouter Web module configuration

Next >


+

Search Tips   |   Advanced Search