Enabling WebSphere Commerce as a service consumer

WebSphere Commerce can consume a business operation defined by an external system as a Web service. In this scenario, WebSphere Commerce acts as the service consumer to an external system.

WebSphere Commerce provides reference applications with code samples for integration with an enterprise resource planning (ERP) system and an order management system (OMS) as part of WebSphere Commerce Enhancements for version 6.

  1. Ensure that WebSphere Commerce Feature Pack 1 is installed. See WebSphere Commerce Enhancements for version 6 for further information.

  2. Identify an external system with business logic that WebSphere Commerce needs to consume.

    • If not already provided, create a Web service on the external system to provide the business logic. WebSphere Commerce uses a Web Service Definition Language (WSDL) that is based on the OAGIS WSDL to make outbound service requests to external systems.

    • If the external system does not use the same WSDL, but has an existing service API defined, mediation is required to transform outbound service requests and responses between the two formats.

  3. Customize the Web service client invocation XML file.

  4. Create a Web service client API for WebSphere Commerce to construct the outbound message.

  5. Identify the business process (task commands or controller commands) within WebSphere Commerce that consume the service. Use Service-oriented outbound integration points as a reference. The task command should call the client API to send the message.

Related concepts

WebSphere Commerce as a service consumer

WebSphere Commerce and service-oriented architecture (SOA)

WebSphere Commerce Web services with JSP pages

Understanding the WebSphere Commerce Web service framework

WebSphere Commerce use of Open Applications Group (OAGIS) messaging

Related tasks

Create a Web service client API for WebSphere Commerce

Customizing the Web service client invocation XML file

Customizing existing outbound service requests

Related reference

Additional information about Web services

Service-oriented outbound integration points