Document Handler Services in a Cluster
Document handler services are services that you create and implement to process cXML messages. Using Ariba Supplier OnRamp, you can create the following document handler services:
PunchOutSetupRequest. Retrieves data from a PunchOutSetupRequest message, stores punchout related data, initializes the shopping session, and returns a catalogURL where the buyer should begin to shop. For more information, see
PunchOutSetupRequest Handler.
OrderRequest. Processes a cXML OrderRequest message in a back-end order system. For more information, see
OrderRequest Handler.
ProfileRequest. Returns a list of cXML request transactions that are handled by the supplier. For more information, see
ProfileRequest Handler.
MasterAgreementRequest. Maps the cXML Master Agreement to MasterAgreementRequests/cancellations for the underlying system. For more information, see
MasterAgreementRequest Processing.
InvoiceDetailRequest. Processes a cXML InvoiceDetail transaction to enable the suppliers to send invoices to buying organizations or marketplaces. For more information, see
InvoiceDetailRequest Handler.
The core cXML servicewm.b2b.cml:receiveCXML invokes the appropriate document handlers when it receives a cXML message.
You must ensure that the following systems with which the handler services can interact are cluster safe:
Back-end catalog system
Procurement system
Database to store session data
The interaction with these systems must be designed so that the server initiating a request will be the only one receiving the response from the back-end system. In addition, a document handler must be able to associate a particular request with a particular response.