Creating Custom Event Services for Punchout Processing
Event services should be non-intrusive to the punchout process. That is, they:
Should be used to implement customer-specific reporting mechanisms in addition to logging (for example, sending email notification to interested parties when an OrderRequest fails).
Should not prevent
Ariba Supplier OnRamp from completing its execution.
Should not alter the cXML record, serviceError records, and the catalogURL (for a PunchOutSetupRequest event) that is passed in by the
Ariba Supplier OnRamp core.
Should not be used to introduce data required by your handler services to process the request.
To implement custom services for punchout order event processing
1. Create a service with a specification corresponding to the following service specifications in the WmAribaSupplier package:
Event Type | Service Specification |
OrderRequestReceived | pub.ariba.supplier.events.spec: OrderRequestReceivedSpec |
OrderRequestFailure | pub.ariba.supplier.events.spec: OrderRequestFailureSpec |
OrderResponseSent | pub.ariba.supplier.events.spec: OrderResponseSentSpec |
SetupRequestReceived | pub.ariba.supplier.events.spec: SetupRequestReceivedSpec |
SetupRequestFailure | pub.ariba.supplier.events.spec: SetupRequestFailureSpec |
SetupResponseSent | pub.ariba.supplier.events.spec: SetupResponseSentSpec |
MasterAgreementRequest Failure | pub.ariba.supplier.events.spec: MasterAgreementRequestFailureSpec |
MasterAgreementRequest Received | pub.ariba.supplier.events.spec: MasterAgreementRequestReceivedSpec |
InvoiceDetailResponse Received | pub.ariba.supplier.events.spec: InvoiceDetailResponseReceivedSpec |
2. Add your custom processing code to your event handler service.
3. Start Integration Server Administrator.
4. In the Ariba OnRamp menu, select Config. The Ariba Supplier OnRamp Configuration screen appears.
5. Specify the names of the services in the appropriate text entry lines in the Event Services section of the page. Type the names in the following format:
folderName:serviceName
6. Click the Update Event Configuration button.