Enabling WebSphere Commerce as a service provider

You can enable a business operation defined by WebSphere Commerce as a Web service. In this scenario, WebSphere Commerce acts as the service provider to external systems.

To make a WebSphere Commerce business operation available as a Web service:

  1. Identify the business logic that you want to expose as a Web service.

  2. Identify the controller command that represents this business logic. If it is not available, then create a new controller command. You can write new commands to call a collection of existing commands.

  3. Identify the mandatory and optional parameters that this command requires.

  4. Create a WSDL description for the Web service.

  5. Register the WSDL description.

  6. Write a JSP page to compose a response.

  7. Deploy the service. This includes the deployment of related files and resources. In case of a new command, deploy and register it in the WebSphere Commerce command registry.

Related concepts

WebSphere Commerce Web services with JSP pages

Understanding the WebSphere Commerce Web service framework

Security and the WebSphere Commerce Web service framework

Command design pattern

Related tasks

Tutorial: Defining an inbound Web service

Tutorial: Defining a User Registration Web Service

Related reference

Inbound Web services provided