Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | Running the Example Punchout Site | Simulated Behaviors | The Simulated Shopping Cart System
 
The Simulated Shopping Cart System
Snowboard Supplier's shopping cart is located in wm.b2b.cxml.example.snowboardSupplier.shoppingcart.
This shopping cart is session based, which means that all data is stored in Integration Server session objects. In a clustered server environment, session objects are persisted in the database. In a single-server environment, however, the data is volatile.
Snowboard Supplier's shopping cart item record is located in wm.b2b.cxml.example.snowboardSupplier.shoppingcart. The shopping cart items are record instances based on the ItemIn element from the cXML protocol. To convert shopping cart items to items in the cXML messages, you simply map the shopping cart items to the ItemIn records in the cXML messages.
In addition, items can be added, but not removed. If more than one of the same item is added, the cart increments the quantity instead of adding duplicate entries.
The services defined to manipulate shopping cart items are described below.