Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | The wm.b2b.cxml Folder in the WmAribaSupplier Package | wm.b2b.cxml.utils.persistence.session | wm.b2b.cxml.utils.persistence.session:saveBuyerSessionData
 
wm.b2b.cxml.utils.persistence.session:saveBuyerSessionData
WmAribaSupplier. Saves the punchout buyer session data to the webMethods session object.
Input Parameters
buyerSessionID
Optional. The session ID of the BuyerData that should be updated.
Leave this field blank if you are storing the buyer data for the first time. If buyerSessionID is blank, this service will store the buyer data in the session object and return to you the session object's ID in the buyerSessionID output field.
If you have already stored the buyer data in a session object using this service, you may update the buyer data in that session object by calling this service with buyerSessionID set to the ID of that session object.
Typically, you would embed the buyerSessionID returned by this service in the catalogURL or as a hidden field in web page forms. When the buyer is finished shopping, the shopping cart system retrieves the buyer data by calling the retrieveBuyerSessionData service with this ID.
BuyerSession
Record of the form wm.b2b.cxml.utils.persistence:BuyerSession. Contains the punchout buyer session data. This service stores the BuyerSession record in a session object in a record called sessionData. (The BuyerSession record exists in the session object as sessionData/BuyerSession.)
newSession TimeoutMS
Optional. If you are storing the buyer data for the first time (that is, if buyerSessionID is not set), you can specify how long (in milliseconds) the session object should be maintained before it is de-allocated.
Output Parameters
serviceError
Error record indicating if an error occurred.
buyerSessionID
The sessionID of the session object where the BuyerData was stored.