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 | Creating PunchOutOrderMessage Mapping Services
 
Creating PunchOutOrderMessage Mapping Services
*To create a PunchOutOrderMessage mapping service for use with the client API
1. Using Designer, create a simple record to represent the shopping cart on the shopping cart system.
2. In the Ariba Supplier OnRamp Configuration screen, click the Create Mapping Service button next to the PunchOutOrderMessage Mapping label to begin creating a mapping service.
3. Complete the following fields:
In this field…
Specify…
Mapping Service Name
The name of the service to be created for the handler. Type the name in the following format:
folderName:serviceName
Package
The package in which to create the service.
resultFormat
The format in which you want your mapping service to return the PunchOutOrderMessage to the catalog system (URL encoded, base-64 encoded, or raw string).
responseType
How to return the PunchOutOrderMessage. Select webMethods Pipeline.
ShoppingCart Record Name
The name of the record you created to represent the shopping cart. Type the name in the following format:
folderName:serviceName
Ariba Supplier OnRamp generates a mapping service stub that will contain the shopping cart record you specified and some code to format a PunchOutOrderMessage record into a string, based on the resultFormat you specified.
4. Using Designer, implement the handler service stub to map the shopping cart record's data to the PunchOutOrderMessage record.
5. Generate the client code using Designer. For more information, see the webMethods Trading Networks Administrator’s Guide for your release.
To use the generated mapping service for your shopping cart system integration using the client API, see Using Generated Mapping Services with the HTTP Form Post.