How to Implement Synchronous Request-Reply Message Exchange Patterns in EBS How to Create Mediator Projects for the Synchronous Request-Response MEP How to Create Routing Services for the Synchronous Request-Response MEP

10-18 Developers Guide for Oracle Application Integration Architecture Foundation Pack

10.7.1 How to Implement Synchronous Request-Reply Message Exchange Patterns in EBS

To implement synchronous request-reply MEP in EBS: 1. Create Mediator projects with routing services. 2. Create routing rules to route the request from the requesting service to the correct providing service in the routing service of the EBS. 3. Implement error handling for logging and notification based on fault policies.

10.7.2 How to Create Mediator Projects for the Synchronous Request-Response MEP

To create Mediator projects for the synchronous request-response MEP: Follow these guidelines when creating Mediator projects: 1. Create two Mediator projects, one for each of the portTypes in the EBS WSDL. If all of the services operations for an EBS have either synchronous request-response or fire-and-forget pattern, then all of these operations must reside in only one portType, so only one Mediator Routing Service should exist. If the EBS has at least one asynchronous request-response operation, then two portTypes should exist, two Mediator routing services and two Mediator projects one for each routing service. 2. Follow the naming convention detailed in Appendix: Oracle AIA Naming Standards. Examples of typical names for the Mediator projects are: ■ CustomerPartyEBSV2 This example has a routing service with all operations for synchronous request-response and request-only. ■ CustomerPartyEBSResponseV2 This example has a routing service with all operations for asynchronous request-response.

10.7.3 How to Create Routing Services for the Synchronous Request-Response MEP

To create routing services for the synchronous request-response MEP: 1. In JDeveloper, put the EBS WSDL in the Mediator project folder. 2. Create a routing service and name according to the naming convention detailed in Chapter 29, Oracle AIA Naming Standards for AIA Development . 3. Select the WSDL. The WSDL must be parsed and the portType name filled in the portType field of the routing service. 4. Select the portType matching with the routing service. Save the routing service. The routing service created for a portType must have all the operations specified in that portType in the EBS WSDL.

10.7.4 How to Implement Error Handling for the Synchronous Request-Response MEP