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
- Identify the business logic that to expose as a Web service.
- 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.
- Identify the mandatory and optional parameters that this command requires.
- Create a WSDL description for the Web service.
- Register the WSDL description.
- Write a JSP page to compose a response.
- 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
Related reference
Related information
Tutorial: Defining an inbound Web service
Tutorial: Defining a User Registration Web Service