Establishing the MEP of a New Process EBS How to Handle Errors How to Secure the EBS How to Configure Transactions

10-4 Developers Guide for Oracle Application Integration Architecture Foundation Pack – The service can implement multiple business operations defined in EBS WSDL. – It should have implementations for all the business operations for a business object. – The service should also contain response operations, which are required for the asynchronous request-response pattern. ■ How will the service be invoked? – The service is invoked using HTTP transport as a Web service. – When the calling client is co-located with this service, then the call can be configured to be a local invocation using optimized binding to improve performance and propagate transactions. ■ What invokes the service? – The service can be invoked by an application if the application has the capability to send an Enterprise Business Message EBM and can perform all the functions of requester ABCS. – When the application does not have the capability to invoke this service directly, then the requester ABCS invokes this service. – An EBF flow that orchestrates across multiple business objects can also invoke this service. ■ How do you interact with the application? – If the application has the capability to receive the EBM message, the EBS can call the application using HTTP as Web service call. – If not, then you must create and call a provider ABCS. ■ What type of interaction is between client and EBS? – The client can call EBS using any of the three MEPs.

10.2.3 Establishing the MEP of a New Process EBS

Since the MEPs for the entity EBS WSDLs in the EBS library are predefined, you must design the process EBS WSDLs. The EBS is modeled to have multiple operations. Each operation leads to the execution of the EBS for a particular business scenario requirement and is granular in nature. Thus, each operation can be modeled to support a different interaction style or pattern. Figure 10–1 illustrates the decision points in establishing the EBS pattern. Designing and Developing Enterprise Business Services 10-5 Figure 10–1 Identifying the Interaction Pattern for EBS Operations For more information about EBS types, see Understanding Enterprise Business Services in the Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application Integration Architecture Foundation Pack.

10.2.4 How to Establish the MEP for a New Process EBS

To establish the MEP for a new process EBS: 1. Identify the triggering event for the EBS operation based on the understanding of the business process requirement from the functional design.

2. If the control is to be blocked until a response is returned to the point of

invocation, then choose the EBS request-reply pattern. This is a synchronous call. In this case, the EBS operation has input and output messages with a named fault.

3. If, after the EBS is invoked, the triggering point does not wait for the response and

continues, this invocation of the EBS would be an asynchronous call.

4. Next, check whether the execution of the EBS results in a response.

Should the request and the response be correlated? If the answer is yes, then this is a delayed response. Use the EBS request-delayed response pattern. In this case, the EBS has two portTypes, each of which accepts an input message only and each of them belongs to a different port. If the answer is no, then choose the EBS fire-and-forget pattern. In this case, the EBS operation has an input message only.

10.2.5 How to Handle Errors

The EBS should be configured to rethrow the errors back to the invoking client. Ensure that the application error handling capabilities are in line with the integration platform error handling capabilities. 10-6 Developers Guide for Oracle Application Integration Architecture Foundation Pack For more information about error handling, see Chapter 24, Configuring Oracle AIA Processes for Error Handling and Trace Logging .

10.2.6 How to Secure the EBS

When the invoking client requester ABCS or application is remote, the EBS must be enabled with security as described in the security chapter. For more information about security, see Chapter 26, Working with Security. For more information about EBS, see Understanding Enterprise Business Services in the Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application Integration Architecture Foundation Pack.

10.2.7 How to Configure Transactions

Based on the SOA transaction semantics in Oracle Fusion Middleware, you can design and configure transactions across ABCS, EBS, and EBF. For more information, see Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle Business Process Management Suite.

10.2.8 How to Guarantee Delivery