Before you start
This tutorial will look at the PunchOut aspect of procurement integrations. PunchOut is an easy to implement protocol for interactive sessions managed across the Internet. This is achieved through a dialog of real-time, synchronous cXML messages, which support user interaction at a remote site.
The following section from ghe WebSphere Commerce Information Center describes the available to market flow provided by the product: Purchasing flow using the punch-out catalog mode.
This tutorial shows how to integrate an Ariba® procurement system
using cXML synchronous messages and using
XML/HTTP configuration in WebSphere Commerce. It will then show how to
integrate an SAP® procurement system via an OCI flow in
WebSphere Commerce.
cXML is different from most other electronic business protocols. cXML is a streamlined protocol intended for consistent communication of business documents between procurement applications, e-Commerce hubs, and suppliers.
For more information about cXML, see the cXML Web site.
The Open Catalog Interface (OCI) incorporates external product catalogs into systems like SAP. This way, data that is required to create shopping cart items in the SAP system can be transferred directly from the external catalog to the SAP. The interface uses the transfer mechanisms of Hyper Text Transfer Protocol (HTTP).
The tutorial will cover the following sequence:
- Types of communication protocols in procurement systems
- Two types of communication protocols are reviewed in this tutorial. The tutorial provides a mechanism to ensure that you have a complete picture of PunchOut integrations using different communication types.
- Saving and configuring the cXML DTD
- For the first part of this tutorial, cXML is the main focus to
establish a strong working integration. The configuration of the
cXML DTD into the
ariba_user_template.xmlis important for understanding how XML/HTTP is translated into a working software system. - Instance and database configuration for the two-step communication protocol
- You will be required to make some instance and database updates to configure WebSphere Commerce to work with PunchOut integrations. Only the two-step communication protocol will be handled at this level. One-step communication protocol will be handled later in this tutorial.
- Setting up the frontend for cXML
- There are some JSP files and Struts configurations required to enable JSP to output pages and cXML messages.
- Test scenario options
- The different ways to test a two-step communication protocol PunchOut integration will be reviewed and analyzed in this section.
- Initial setup test Scenario for cXML
- Strap yourself in for a ride because this is going to be a huge learning curve. You will construct a test URL based on the cXML DTD mapping and name-value pairs handled by the WebSphere Commerce code.
- Test scenario for Ariba
- You will go through a useful test scenario for a two-step communication protocol PunchOut integration.
- Database configuration for the one-step communication protocol
- After validating the successful PunchOut integration, now you will set up a configuration for the one-step communication protocol.
- Setting up the front end for OCI
- For this section, you will review the JSP code and then save into your workspace. Thus, allowing the PunchOut process to complete the frontend flow through the JSP output as well as redirecting to the AdvancedB2BDirect shopping pages.
- Test scenario for OCI
- By following what you have already done for the cXML testing section, the OCI flow has a similar process. You will use an HTML form to initiate the request to WebSphere Commerce to perform a PunchOut experience.




