Inbound: E-Business Suite Application Interaction with AIA Services Concurrent Program Executable

Establishing Resource Connectivity 21-17 Use the Stateless type for session management. Stateless keeps the Siebel session persistent. Siebel Web Service Framework Stateless Session is independent of the Web server. Every response has a new SessionToken that must be used in the next request.

21.4 Oracle E-Business Suite Application-Specific Connectivity Guidelines

The following sections discuss how you can establish inbound and outbound connectivity with Oracle E-Business Suite E-Business Suite applications: ■ Section 21.4.1, Inbound: E-Business Suite Application Interaction with AIA Services ■ Section 21.4.2, Concurrent Program Executable ■ Section 21.4.3, Business Event Subscription JCA Connectivity Using OAPPS Adapter ■ Section 21.4.4, Outbound: Oracle E-Business Suite Application Interaction with AIA Services

21.4.1 Inbound: E-Business Suite Application Interaction with AIA Services

The E-Business Suite application sends requests to AIA services when E-Business Suite is a driving application initiating business processes, business activities, or business tasks. E-Business Suite can either invoke AIA services exposed as Web services with the help of concurrent program executable or raise business events to the AIA layer through JCA Adapter Oracle Apps Adapter. JCA Adapter should be configured to subscribe for a particular business event. The format of the requesting messages can either be native to E-Business Suite Application Business Message ABM or conform to the AIA Enterprise Business Message EBM.

21.4.2 Concurrent Program Executable

E-Business Suite needs AIA service WSDLs. E-Business Suite should generate proxies and use them in the concurrent program executable in order to invoke AIA Services at run time. E-Business Suite should generate the schemas ABMs which are used to define the contracts WSDLs between AIA and E-Business Suite and to develop AIA requester ABCS. Perform the following tasks as part of the AIA Project Management Lifecycle for the Service Conception and Definition phase and the Service Design and Construction phase: Tasks for Solution Architects in Service Conception and Definition Phase: 1. Identify the requester ABCS for E-Business Suite and add them to the AIA project definition. 2. For new ABCS, work with business analysts to capture the requirements in detail. 3. For existing ABCS, work with business analysts to capture details of extensions to be carried out. 4. Work with developers and drive the design of the ABCS. 21-18 Developers Guide for Oracle Application Integration Architecture Foundation Pack 5. Choose the right connectivity based on the E-Business Suite capability to communicate the required ABM to AIA based on the business requirements: Select Concurrent Program Executable or Business Event Subscription. 6. Finalize the format of the message E-Business Suite ABM. 7. Finalize the contract between E-Business Suite and AIA, that is, define the WSDL of the AIA requester ABCS. 8. Define and finalize the error or fault handling message format between E-Business Suite and AIA. 9. Define the error handling mechanism and the style of AIA errors to be displayed and logged for the E-Business Suite application user. 10. Finalize on the MEP between E-Business Suite and AIA. Follow Best Practices and Design Asynchronous Patterns to Avoid Long Running Transactions 1. Finalize on the type of acknowledgment for asynchronous operations. 2. Ensure the metadata of the service is captured in the Oracle Enterprise Repository. 3. Add the service to the deployment plan of the AIA project definition. Tasks for Developers in Service Design and Construction phase: 1. Analyze the E-Business Suite requester ABS definition provided by solution architect. 2. Work with E-Business Suite development and discuss the possible design. 3. Finalize the content of the message from E-Business Suite. 4. Get the schema of the message from E-Business Suite and ensure the following: TargetNameSpace - If higher than version 0, must have suffix VN where V is abbreviation for version and N is the version number. If there is no version number, it is considered to be version 0. Example 21–7 provides an example of version 0. Example 21–7 Example of a Version 0 TargetNameSpace xsd:schema xmlns:xsd=http:www.w3.org2001XMLSchema targetNamespace=http:xmlns.oracle.comebizCurrencyExchange xmlns:db=http:xmlns.oracle.comebizCurrencyExchange elementFormDefault=qualified xsd:schema xmlns:xsd=http:www.w3.org2001XMLSchema targetNamespace=http:xmlns.oracle.compcbpeladapterdbtopCreatePayable InvoiceListEbizDBAdapterV1 xmlns=http:xmlns.oracle.compcbpeladapterdbtopCreatePayableInvoiceList EbizDBAdapterV1 5. Construct a requester ABCS using AIA Service Constructor. Provide the WSDL from this service to the E-Business Suite development team.

21.4.3 Business Event Subscription JCA Connectivity Using OAPPS Adapter