Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | Implementing a Punchout Ordering System without Trading Networks | Mapping PunchOutOrderMessages | Passing Shopping Cart Data Using HTTP Form Posting | Using Generated Mapping Services with the HTTP Form Post
 
Using Generated Mapping Services with the HTTP Form Post
Using HTTP form post, a catalog system can use the PunchOutOrderMessage mapping service that you define. To use the mapping service for your shopping cart system integration, using HTTP form post, perform the following steps:
*To use a generated mapping service with HTTP form posting
1. Ensure that the shopping cart system is capable of creating a shopping cart XML string representing the shopping cart.
From the shopping cart system, perform an HTML form post to the following URL:
http(s)://<servername>:<port>/invoke/<name of your mapping service>
2. As part of the HTML form, specify the name=value pair ShoppingCartXML, containing the ShoppingCart XML.
The mapping service will return the formatted PunchOutOrderMessage in the body of an HTTP response. The shopping cart system must be capable of extracting the raw contents from the HTTP response.