Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | Implementing a Punchout Ordering System with Trading Networks | Mapping PunchOutOrderMessages | Passing Shopping Cart Data Using the Client API | Using Generated PunchOutOrderMessage Handler Services with the Client API
 
Using Generated PunchOutOrderMessage Handler Services with the Client API
After you generate a mapping service for your PunchOutOrderMessage handler, you use this service for your shopping cart system integration using the client API.
Using the client API, create a record called ShoppingCart to correspond to the shopping cart record you defined in your PunchOutOrderMessage mapping service. For example, if you defined a simple record representing shopping cart items and totals such as the following:
In your client code, you would create a record with this structure and populate its fields.
The generated client API code will invoke the PunchOutOrderMessage mapping service you created. The mapping service will return the PunchOutOrderMessage string in an output variable named PunchOutOrderMessageString. Using the client API, you extract the PunchOutOrderMessage.