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 | Creating MasterAgreementRequest Handlers | Creating MasterAgreementRequest Handler Services
 
Creating MasterAgreementRequest Handler Services
A MasterAgreeementRequest handler is invoked with a Master Agreement record argument that represents the actual received message. The MasterAgreeementRequest handler is also invoked with an operation argument that represents the Master Agreement operation that is being requested (new, update, delete).
The Master Agreement must return a status in its serviceError output parameter. If an error was encountered while processing the MasterAgreeementRequest, the serviceError must be set to indicate the error. If no error was set, Ariba Supplier OnRamp returns a response with the status code of 200 that indicates that the MasterAgreementRequest was successfully received, and that the request is being processed.
*To create a MasterAgreementRequest handler service
1. Start Integration Server Administrator.
2. In the Ariba OnRamp menu, select Config. The Ariba Supplier OnRamp Configuration screen appears.
3. Click the Add Handler button in the cXML Request Document Handlingsection of the page. The Handler Configuration screen is displayed.
4. Complete the following fields and click the Submit button:
In this field…
Specify…
cXML Document Type
Select MasterAgreementRequest.
Operation / Sub Type
Select new, update, or delete. Select any if you want the handler to apply to all operations.
Service Name
The name of the service to be created for the handler. Type the name in the following format:
folderName:serviceName
If the service name already exists, the existing service will not be overwritten. Ariba Supplier OnRamp will register the existing service internally to handle the selected operation type.
Package Name
The name of the package in which the service is created.