Develop > Persistence layer > WebSphere Commerce Web services with JSP pages > Understand the WebSphere Commerce Web service framework > WebSphere Commerce as a service provider


Enable 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:


Procedure

  1. Identify the business logic that 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

Security and the WebSphere Commerce Web service framework

WebSphere Commerce as a service provider

Understand the WebSphere Commerce Web service framework

Command design pattern

Related reference

Inbound Web services provided

Inventory update

Order preprocessing


Related information

Tutorial: Defining an inbound Web service

Tutorial: Defining a User Registration Web Service


+

Search Tips   |   Advanced Search